W
W
Hi all,
I use a dlookup function to determine whether a record has already been
encoded or not.
This does it all right :
DLookup("Id", "tblOrders", "[Customer] = " & lngCustomer & _
" and [OrderDate] = #" & dOrderDate & "#" & _
" and [Branch] = """ & cBranch & """")
However I have to add one more condition, and here it all goes wrong : I
have to test for :
And [City] = “â€â€ & cCity & “â€â€â€
I don’t manage to add this condition after “and [Branch] “â€â€ & cBranch & “â€â€â€
Any help will be appreciated.
W
I use a dlookup function to determine whether a record has already been
encoded or not.
This does it all right :
DLookup("Id", "tblOrders", "[Customer] = " & lngCustomer & _
" and [OrderDate] = #" & dOrderDate & "#" & _
" and [Branch] = """ & cBranch & """")
However I have to add one more condition, and here it all goes wrong : I
have to test for :
And [City] = “â€â€ & cCity & “â€â€â€
I don’t manage to add this condition after “and [Branch] “â€â€ & cBranch & “â€â€â€
Any help will be appreciated.
W