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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling a Sub Routine in a subform from the main form 1

Status
Not open for further replies.

turbosrl

Programmer
Jan 21, 2004
1
US
I would like to call a sub routine that is in a sub form from the main forms Form_Current event. I have a field that is calculated and I would like to update it when a change to the data has occured on the main form. I am having trouble finding information on this. I tried making the sub Public but that didn't work, but I don't know if my sintax was the problem or what. Any help would be appreciated.
 
Hello,
I call 1 form and then call another form from a button. I enter data in the second form and by closing I use -->
Forms.Item("frmPBS_Testzyclus").Refresh
to see the information change in the first form. You can use something like this by calling the formular field and and refreshing it.
Just a thought.
Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top