B
babs
On a form Tankentryform I am trying to grab the rate field back on the table
tbltanksrate2 where the following fields on the form are equal to the given
values back on the table. The rate field is just an input not a calculated
field but it should automitically be put in on the form based on the
clientid, pickupyd,etc. see below.
getting a syntax error not sure where???????
=dlookup(â€[rate]â€, “tbltanksrate2â€,â€[clientid] = ‘â€&
forms![tankentryform]![clientid] & “’†and “[pickupyd]= “ &
forms![tankentryform]![pickupyd] and â€[pickupydname] = ‘â€&
forms![tankentryform]![pickupydname] & “’†and “[delivyd]= “ &
forms![tankentryform]![delivyd] and â€[pickupydname] = ‘â€&
forms![tankentryform]![pickupydname] & “’†and “[type] = ‘â€&
forms![tankentryform]![tankmat] & “’â€)
thanks,
Barb
tbltanksrate2 where the following fields on the form are equal to the given
values back on the table. The rate field is just an input not a calculated
field but it should automitically be put in on the form based on the
clientid, pickupyd,etc. see below.
getting a syntax error not sure where???????
=dlookup(â€[rate]â€, “tbltanksrate2â€,â€[clientid] = ‘â€&
forms![tankentryform]![clientid] & “’†and “[pickupyd]= “ &
forms![tankentryform]![pickupyd] and â€[pickupydname] = ‘â€&
forms![tankentryform]![pickupydname] & “’†and “[delivyd]= “ &
forms![tankentryform]![delivyd] and â€[pickupydname] = ‘â€&
forms![tankentryform]![pickupydname] & “’†and “[type] = ‘â€&
forms![tankentryform]![tankmat] & “’â€)
thanks,
Barb