ms-access 2003: form does not open! help!

后端 未结 2 1343
终归单人心
终归单人心 2021-01-23 14:11

i have an access db with forms, one of the forms is not opening. i double clicked on it, i tried to open in design mode. nothing happens. there\'s no error message, but nothing

相关标签:
2条回答
  • 2021-01-23 15:05

    The lack of an error message makes this extra challenging. OTOH, without an error message, how do you know the form hasn't opened? Could it be open but hidden?

    Try these two commands in the Immediate Window:

    DoCmd.OpenForm "YourForm", acNormal,,,,acWindowNormal
    
    ? Forms("YourForm").Name
    

    Do you you get any error messages then? If so, tell us what error messages and at which step they occur.

    0 讨论(0)
  • 2021-01-23 15:05

    Here's the bible for Access corruption issues.

    http://www.granite.ab.ca/access/corruptmdbs.htm

    First things first: try to decompile and recompile (check the help files on how to do that). Next, try creating a second database and importing your form from the corrupt one. Lastly, use SaveAsText and LoadFromText to export and reimport the form.

    0 讨论(0)
提交回复
热议问题