refreshing the contents of a subform

ion97

Registered User.
Local time
Today, 04:41
Joined
Feb 28, 2001
Messages
27
How are the contents of a subform refreshed ?

I want to have a "data entry" form, with a button next to it. When the user clicks on the button the new record is saved and the datasheet at the bottom of the form is refreshed with the new data.
 
Me.child.Form.Requery

Where child = name of the Control which contains your subform.

Shep
 
I have tried it, but strangely enough it works the SECOND TIME I click on the button.

What am I doing wrong??

Thanx for the help.
 
I think we'll need to see your code.

Shep
 

Users who are viewing this thread

Back
Top Bottom