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

Code in wrong place

Status
Not open for further replies.

nim180

IS-IT--Management
Aug 11, 2005
161
AU
Hi everyone,

I have the following code in the control source of a textbox on the mainform

=[Forms]![frmWorkshop]![frmSubMaterials].[Form]![Total]

This gives me the total cost of the field "Total" in the subform. What i need to do is place the code somewhere else besides the control source of the textbox because i need to save the figure into my table. Can someone tell me where i can put this code and still be able to save the value. Any inputs or there diferent methods people have would be great.

Regards,
Nim
 
Most people do not save calculated values in a database. If you can calculate it on a form you can do the same on a report , query or anywhere else you want to show it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top