Refresh subform

Soegstad

Registered User.
Local time
Today, 13:36
Joined
Dec 3, 2003
Messages
53
Hi
I have a problem with a subform.
I want to refresh the subform (named frmOrderSUB) everytime I start a new record the main form (named frmOrderMAIN).
In other words, every time I push >* in the main form I want the subform to refresh and have no records in the pulldown menu.
Thanks for your help.
Mads
 
Isn't the subform linked to the main form by some child master field?
 
I have a field in the subform that links to the main form Autonumber (=[Forms]![frmOrderMain]![OrderID])
 
The order ID is linked from main to sub (one to many realtionship)
 
I have a one to many relationship between the OrderID fields in the main form and the sub form
 
Then you just need to set the Child/Master link for the subform, it's on the main form property sheet
 

Users who are viewing this thread

Back
Top Bottom