Hi, I'm trying to use Dlookup in a form to find the closed date and time of the previous record. This is the syntax I'm using.
=DLookUp(" [MainTable]![PullDateTime] ","Main Table","[MainTable]![ChargeNo] = [LastCharge] "
LastCharge is a hidden field that subtracts one from the current Charge Number (which is the record number).
I keep getting an error returned in that field. Can anyone tell me what is wrong with my syntax??
Thanks alot!
=DLookUp(" [MainTable]![PullDateTime] ","Main Table","[MainTable]![ChargeNo] = [LastCharge] "
LastCharge is a hidden field that subtracts one from the current Charge Number (which is the record number).
I keep getting an error returned in that field. Can anyone tell me what is wrong with my syntax??
Thanks alot!