All,
I have a subform that is the result of a query. I want to set the default to a text box on the subform based on the value in another field on the same subform.
Below is a dlookup using the table that the subform query is based on:
the default value is coming back null on the subform, any ideas how to get this to work?
I have a subform that is the result of a query. I want to set the default to a text box on the subform based on the value in another field on the same subform.
Below is a dlookup using the table that the subform query is based on:
Code:
=DLookUp("[Self Pay AP]![Date Worked]","[SELF PAY AP]","[Self Pay AP]![INVOICE NUMBER] =" & [Forms]![FrmMain]![QRY_ALL_DETAIL SUBFORM].[Form]![INVOICE NUMBER])
the default value is coming back null on the subform, any ideas how to get this to work?