pl456
06-03-2009, 08:00 AM
Anybody come accross this issue and have any idea how to fix it.
I have parameter in a query forms!frm_whatever!txtwhatever
When I run the query its fine, I close the db when it opens again it pops the parameter box up as though the name of the field is not recognised. If I change the name of the field on the form and in the query it works again. When I close it the same happens again. every time.
:mad:
pl456
06-04-2009, 12:38 AM
I Didn't find the actual reason why but managed to get around this by copying and pasting all my database objects into a new blank database.
Might help if anyone has a similar problem.
feel like I am talking to myself at times:(
Raga32
01-05-2012, 05:28 AM
I had this exact problem, and copying the database to a new file worked. Thanks I couldn't find an answer to the problem anywhere either.
vbaInet
01-05-2012, 05:31 AM
Raga32, there wasn't any need of resurrecting an old thread.
REgarding the problem, you always have to make sure that the form is open before opening the query? And it should remain open until you close the query.
Raga32
01-06-2012, 05:38 AM
The query was running off of a control on the form, so having the form open wasn't the problem. Either way, it's fixed now after copying the objects over to a new database.
Thanks for the reply
vbaInet
01-06-2012, 05:41 AM
Yes I know that. If the form is not open before you open the query it will simply not work. If the form is closed and the query is refreshed, it will fail.
Raga32
01-06-2012, 05:43 AM
Ok I see what you mean now, that makes sense in retrospect.
Thanks again
vbaInet
01-06-2012, 05:45 AM
Welcome to the forum by the way!