View Full Version : refreshing the contents of a subform


ion97
04-07-2002, 11:37 AM
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.

Shep
04-07-2002, 11:57 AM
Me.child.Form.Requery

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

Shep

ion97
04-07-2002, 01:06 PM
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.

Shep
04-07-2002, 01:17 PM
I think we'll need to see your code.

Shep