Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-time error ‘3211’

Status
Not open for further replies.

DaveL

Programmer
Jun 8, 2000
40
US
I am trying to populate a subform in my form using a make-query based on the value selected in a combo box on the form. When the value selected in the combo box changes, I want to change the data in the subform. I am then allowing the user to select or deselect individual records on the subform for printing.

Every time the make-query runs, I am getting a Run-time error '3211' telling me that it couldn't delete the file because it is already in use by another user.

Can anyone give me ideas on how to correct this error or on a different way to solve this problem?

Thanks!
 
Try deleting all records and then appending new records. Access won't let you delete a table you have open in a subform.
 
thwingr,

That did the trick. Thanks for the tip!

DaveL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top