ppkgoldengun
MIS
I have a form subform combination. I need to do a Dlookup to populate a field QuickenCode in the subform. I am executing the following in an after update event on the field ExpenseCodeID in the Subform. It fails on syntax. I inherited the table and form IDs with the spaces in the name (ugh). Any ideas?
Many thanks.
The code is:
Me.QuickenCode.Value = DLookup("[NonBillableQuicken]", "Expense Codes", "[ExpenseCodeID] = " _
& Forms![Time Cards]![Time Cards Expense Subform]!ExpenseCodeID)
Many thanks.
The code is:
Me.QuickenCode.Value = DLookup("[NonBillableQuicken]", "Expense Codes", "[ExpenseCodeID] = " _
& Forms![Time Cards]![Time Cards Expense Subform]!ExpenseCodeID)