requry a subform (1 Viewer)

Geordie2008

Registered User.
Local time
Today, 16:53
Joined
Mar 25, 2008
Messages
177
Hiya,

I have a form where a user updates the textbox "Criteria"

Once this is updated I want the results of the query to return in a subform.

I have designed the subform and created the query... How (and where do I put the code) to make it update?

Do I need a button? Also can I get a scroll bar in the subform incase lots of results are returned and the user needs to scroll down?

Tnx,
M
 

Uncle Gizmo

Nifty Access Guy
Staff member
Local time
Today, 16:53
Joined
Jul 9, 2003
Messages
16,364
Is the textbox "Criteria" On the main form, and the subform you mention on the same form?
 

Geordie2008

Registered User.
Local time
Today, 16:53
Joined
Mar 25, 2008
Messages
177
yep, sorry, managed to work this out seconds ago....

I added:Me.[mandy subform].Form.Requery

to the afterupdate of the text box.

Cheers,
M
 

Users who are viewing this thread

Top Bottom