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!

Saving a value from a subform to the main form 1

Status
Not open for further replies.

ascheper

Technical User
Nov 29, 2001
45
0
0
CA
This may be an easy problem, but I'm having some difficulty saving a total from a subform to a control source in the main form. I can reference the subform total in the main form, but I cannot save it. I tried the fix suggested on the MS Knowledge site, which is using a macro to set the value, but all I get is zeros. The reference to the subform data is [OrderSub].[Form]![TotalField] this is a datesheet used to enter order and product information for customers. I want to save the order's total in the main form. Any suggestions would be welcome, thank you.
 
Need to know the name of your main form and field and
subform name and field to help

It should look like this:

me.parent.recordsource= me![total]
Hope this helps

Hope this helps

 
The name of the parent form is OrderMaster, but that was the ticket, thank you for the help, it worked fine...

Andrew
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top