L
Linkerbink
I have an employee database with several tables, two of
which are Staff Data and Hire Date, which are joined by
social security number. The input (main)form uses the
Staff Data table, and the Hire Date info (hire date,
termination date, reason, etc.) is displayed on the Hire
Date Subform through a query.
At the Form Header I have displayed the employee's name
and SSN which come from the main form (Staff Data), and
would also like to display whether or not the employee is
active (Termination Date is null), or inactive
(Termination date is not null). I placed an unbound text
box in the form header, set the control source to:
=IIf([Forms]![Hire Date Form]![Termination Date]Is
Null, "Active","Inactive") but all I get is #Name? I've
tried all sorts of variations but no luck. Am I way off
base here? Any help would be appreciated. I'm self-
taught and relatively new at Access (obviously!)
which are Staff Data and Hire Date, which are joined by
social security number. The input (main)form uses the
Staff Data table, and the Hire Date info (hire date,
termination date, reason, etc.) is displayed on the Hire
Date Subform through a query.
At the Form Header I have displayed the employee's name
and SSN which come from the main form (Staff Data), and
would also like to display whether or not the employee is
active (Termination Date is null), or inactive
(Termination date is not null). I placed an unbound text
box in the form header, set the control source to:
=IIf([Forms]![Hire Date Form]![Termination Date]Is
Null, "Active","Inactive") but all I get is #Name? I've
tried all sorts of variations but no luck. Am I way off
base here? Any help would be appreciated. I'm self-
taught and relatively new at Access (obviously!)