P
Pasadena-D via AccessMonster.com
I have a ComboBox in my form, which we will call "ComboBox123" for now. I'd
like the default value of "ComboBox123" to be a date based on a DLookUp to a
query. I want it to take the current date and find the closest value listed
in the "qryPay_Period_Ending", and use this as the default value for
"ComboBox123" when I 1st open the form.
I can do this in Excel as follows, but can't get DLookUp to do it:
=VLOOKUP(NOW(),qryPay_Period_Ending,1,TRUE)
In Excel I VLOOKUP Now() in the data range "qryPay_Period_Ending", and it
returns the closest value from column 1 of that data range. I have no clue
how to do this in DLookUp. Please help!!!
like the default value of "ComboBox123" to be a date based on a DLookUp to a
query. I want it to take the current date and find the closest value listed
in the "qryPay_Period_Ending", and use this as the default value for
"ComboBox123" when I 1st open the form.
I can do this in Excel as follows, but can't get DLookUp to do it:
=VLOOKUP(NOW(),qryPay_Period_Ending,1,TRUE)
In Excel I VLOOKUP Now() in the data range "qryPay_Period_Ending", and it
returns the closest value from column 1 of that data range. I have no clue
how to do this in DLookUp. Please help!!!