J
jayC
I am using forms to create customer invoices.
I would like to use the Lookup function in a text box to automatically fill
in a field on the form for each customer.
The "Invoices Query" query, on which the invoices form is based, contains a
field
called IN DATE.
I created a table called "DATATABLE" that has a field called INDATE and a
field called BILLINGDATE. The text box is supposed to show the data in the
BILLINGDATE field based on the corresponding data in the INDATE field for
each customer.
INDATE is a text field. BILLINGDATE is also a text field.
This is what I inputed:
=DLookUp("[BILLINGDATE]","[DATATABLE]","[INDATE] =" & [Forms]![Invoices
Query]![INDATE])
The above is returning #NAME? error when the First 10 RecordsPreview is
clicked.
Thanks
I would like to use the Lookup function in a text box to automatically fill
in a field on the form for each customer.
The "Invoices Query" query, on which the invoices form is based, contains a
field
called IN DATE.
I created a table called "DATATABLE" that has a field called INDATE and a
field called BILLINGDATE. The text box is supposed to show the data in the
BILLINGDATE field based on the corresponding data in the INDATE field for
each customer.
INDATE is a text field. BILLINGDATE is also a text field.
This is what I inputed:
=DLookUp("[BILLINGDATE]","[DATATABLE]","[INDATE] =" & [Forms]![Invoices
Query]![INDATE])
The above is returning #NAME? error when the First 10 RecordsPreview is
clicked.
Thanks