Problem with a Form

Bill Pugh

Registered User.
Local time
Today, 16:16
Joined
Jul 23, 2003
Messages
22
Hi All:

I'm new to the forum. What I'm having problems with is a forum with combo-boxes. What I need is a way to reset the form "like a F9" so one table will not be locked. I've tried all the stuff under "Options" without any luck. I do know, that all I have to do is hit F9 each time and the form will work without giving me the error.

The database engine could not lock table ' ' because it is already in use by another person or process.

Thanks for any help
Bill Pugh
 
Bill,

Hard to tell exactly what is happening and why and when it happens on your form but the following code is more or less equivalent to pressing the F9 key.

Code:
	Forms!YourFormName.recalc

You'll want to run this before the event that triggers the error message -- may or may not be an OK work-around...

Regards,
Tim
 
Thanks Tim

That worked! Much nicer reply from you than I got from my other post..:)
 

Users who are viewing this thread

Back
Top Bottom