I really need some help. I'm getting an error when I try to print a record form a form. This works fine in another database. The database name is CUSTOMER. The command for the action is as follows:
stDocName = "Normal"
DoCmd.OpenReport stDocName, acViewPreview, , "[CUSTNUMBER] = '" & Me![CUSTNUMBER] & "'"
When I click the button, I get an error:
The database engine could not lock table 'CUSTOMER' because it is already in use by another person or process
I am using Microsoft Access 2000, Stand-alone machine, activating a button to print. OS is Windows 98. The only other process I can think of that is using the database is the form itself.
Please help! Thank You!
stDocName = "Normal"
DoCmd.OpenReport stDocName, acViewPreview, , "[CUSTNUMBER] = '" & Me![CUSTNUMBER] & "'"
When I click the button, I get an error:
The database engine could not lock table 'CUSTOMER' because it is already in use by another person or process
I am using Microsoft Access 2000, Stand-alone machine, activating a button to print. OS is Windows 98. The only other process I can think of that is using the database is the form itself.
Please help! Thank You!