How do I use .Requery

wjoc1

Registered User.
Local time
Today, 22:51
Joined
Jul 25, 2002
Messages
117
Hi I have a form and when the value in a certain control is changed I want a query to refresh its data so that when I open another combo box on the form it will list the right values(picked up from the query).

How do I get the query to refresh itself?
I've been messing around with QueryDefs and Recordsets and all this stuff but I can't get it to work. It is driving me CRAZY.

Please help me.....

Liam
 
Try -



DoCmd.Requery("ObjectName")



on the AFTERUPDATE property on the preceeding action.

HTH

Dave E
 

Users who are viewing this thread

Back
Top Bottom