G
Guest
I've tried several ways of doing a calculated field in a subform. First by
putting this calculation directly in the Control Source of the Field
properties:
=[Aircraft!CurrentHours]+[Aircraft!TTA_Variable]-[Engines!Eng_TTA_atLastMOH]
Second by writing a query and referencing that in the control source.
Query is:
SELECT Aircraft.CurrentHours+Aircraft.TTA_Variable-Engines.Eng_TTA_atLastMOH
AS TSMOH
FROM Aircraft, Engines
WHERE Aircraft.Aircraft_ID=Engines.Aircraft_ID;
when I run this in SQL it works fine.
But in either case - when I view this field in the form (it is ina subform)
I get the following #NAME?
I'm new to Access - converting from Filemaker, so this might be a simple
mistake, but searching help for #NAME? brings up nothing relevant.
putting this calculation directly in the Control Source of the Field
properties:
=[Aircraft!CurrentHours]+[Aircraft!TTA_Variable]-[Engines!Eng_TTA_atLastMOH]
Second by writing a query and referencing that in the control source.
Query is:
SELECT Aircraft.CurrentHours+Aircraft.TTA_Variable-Engines.Eng_TTA_atLastMOH
AS TSMOH
FROM Aircraft, Engines
WHERE Aircraft.Aircraft_ID=Engines.Aircraft_ID;
when I run this in SQL it works fine.
But in either case - when I view this field in the form (it is ina subform)
I get the following #NAME?
I'm new to Access - converting from Filemaker, so this might be a simple
mistake, but searching help for #NAME? brings up nothing relevant.