Can a DLOOKUP function which returns a string be the criteria for a DLOOKUP? Here's my example I'm working with now:
-Text box
Name: OPO_SSN
Control Source: =DLookUp("[SSN]","NTT Staff","[Dept]='OPO'"
-Another Text box
Control Source: =DLookUp(" [Type]","Transactions"," Date1 >= [StartDate] and Date1<=[EndDate] and OPO_SSN=[SSN]"
I'd like to replace the criteria in the second text box (OPO_SSN=[SSN) with the DLOOKUP formula in the first text box to consolidate the calculation. I'd surely appreciate any guidance in this. Thanks!
-Boyd
-Text box
Name: OPO_SSN
Control Source: =DLookUp("[SSN]","NTT Staff","[Dept]='OPO'"
-Another Text box
Control Source: =DLookUp(" [Type]","Transactions"," Date1 >= [StartDate] and Date1<=[EndDate] and OPO_SSN=[SSN]"
I'd like to replace the criteria in the second text box (OPO_SSN=[SSN) with the DLOOKUP formula in the first text box to consolidate the calculation. I'd surely appreciate any guidance in this. Thanks!
-Boyd