trying to store a valu from a subform in main form

aguest

Registered User.
Local time
Today, 04:06
Joined
Aug 14, 2014
Messages
34
Hi,

Can someone tell me why this isn't working for me please. I'm getting a #name? error in my text box in the footer (doesn't matter where this is placed on main form. I've changed this to be forms. and forms! but no difference in the outcome.

I just want it to view the total figure from a purchase order subform. This is populating correctly but isn't being stored anywhere, just shows.

Also, any way I could make this invisible when the form is in form mode?

Thanks in advance.
subform total.png
 
Hi pbaldy,

Thanks for that I've looked thorugh the sheet and it looks like I'm referring to it correctly. The text box in the footer has the following in it :=[Me]![txtTotalCost].[frmEquipPurchaseOrderSubform]![txtEqTotal].

It's still giving me the same error.
Any suggestions?
 
For starters, "Me" is only valid in VBA code, so that would cause an error. txtTotalCost is the name of a form?
 

Users who are viewing this thread

Back
Top Bottom