Results 1 to 4 of 4
  1. #1
    Zetheroth is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Jun 2022
    Posts
    31

    Question Crashing upon trying to use a specific button to open main menu form


    Every time I try to open the main menu via the quick access button on the form "haytypesFRM" access crashes, reopens, and prompts me to make a backup. I have no clue what I've done to cause this, but if someone can figure it out it would be greatly appreciated.Sales Test.zip

  2. #2
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,737
    Maybe next time unhide your objects?
    Works for me, assuming I'm pressing the right buttons. Maybe you compact/repaired the db before you zipped it and that fixed it. If you c/r'd it, check your file again. If still buggy I would suggest a decompile but it seems you have no code in there (using embedded macros instead) so I don't see that helping. In that case I'd suggest creating a new db and importing all objects into it to see if that fixes it.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    davegri's Avatar
    davegri is offline Excess Access
    Windows 11 Access 2019
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,389
    Get rid of ALL that code to "close all except"...; behind ANY form.

  4. #4
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,737
    Ooops. I saw the embedded macros thus neglected to look for form code.
    Code is buggy (there are parameter prompts if you don't choose OK and an error if you cancel).
    Yeah, that close code makes no sense.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 04-03-2016, 07:47 PM
  2. Open new form from main menu
    By Gregory23 in forum Forms
    Replies: 2
    Last Post: 11-29-2015, 11:34 PM
  3. Replies: 2
    Last Post: 10-08-2012, 12:39 PM
  4. Replies: 11
    Last Post: 01-26-2012, 01:22 PM
  5. Replies: 2
    Last Post: 08-11-2011, 10:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums