Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refresh form data from button on Subform 1 for Subform 2 and 3

Status
Not open for further replies.

freespiritcherishes

Technical User
Oct 17, 2003
42
0
0
GB
Hi all

I have a main form with 3 subforms. Subform 1 being the biggest form. I have a button on it that refreshes the form data of Subform one, but how do i get it to refresh the form data of subforms 2 & 3. I used the Docmd.repaintobject cmd referring to the forms but i just keep getting an error. Does anyone know how to do it?

kindest regards
freespirit
 
Have you tried Me.Requery or SubForm3.Requery where SubForm3 is the name of that subform?
 
hi Prog!

do i put that on the onclick event of my button or the oncurrent event of the subform in question?

Thanks for replying

regards
donna
aka freespirit

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top