Please help - Command Buttons fail in DB!!!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have several forms in the my database which have command buttons for Find/Replace, Add New Record, Delete Record and Quit Application. These command buttons were working just fine. However, they have stopped working. When I click on the Find/Replace command button I get a dialog box with, "you cannot use find/replace now". When I click on the Add New Record, nothing happends. However, when I click on the Quit Application button it works by closing the application down. I tried deleting the command buttons and adding them again and the same thing happens. I have created a new form in the same database with new command buttons and still the same. I have opened other databases, and still get the same message. Does anybody know what this means? Can anyone help? Thank you in advance for any advice I can get.
 
Try creating a brand new database. Then import the objects (tables, queries, forms, reports,
etc.) one group at a time. When importing tables, note that there are options that allow you to
import relationships, menus & toolbars, and any import/export specifications.

Open the Visual Basic editor (ALT F11) in the original database. Click on Tools > References.
Make a note of the checked references, including their priority if your code is not
disambiguated. Close this dialog and then close the original database. Open the new database
and make sure that the same references are selected, and in the same order. Dismiss this dialog,
and try compiling the database (Debug > Compile DatabaseName). If you can get it to compile
okay, then close the Visual Basic Editor, open your forms, and test the command buttons once
more.

Tom
______________________________________


I have several forms in the my database which have command buttons for Find/Replace, Add New
Record, Delete Record and Quit Application. These command buttons were working just fine.
However, they have stopped working. When I click on the Find/Replace command button I get a
dialog box with, "you cannot use find/replace now". When I click on the Add New Record, nothing
happends. However, when I click on the Quit Application button it works by closing the
application down. I tried deleting the command buttons and adding them again and the same thing
happens. I have created a new form in the same database with new command buttons and still the
same. I have opened other databases, and still get the same message. Does anybody know what
this means? Can anyone help? Thank you in advance for any advice I can get.
 
Back
Top