G
Guest
I am looking for ideas that can help me lookup a value in a table
(tblcustomer) that is based on mutilple fields. Here is an example, an user
will manually enter a bank#,account# and the note# on a form that I created,
and what I want this form to do is return the customer name in a text box by
going to an existing table (tblcustomer) using the combination of Bank#,
Account# and note #. TblCustomer contains these fields: bank#,account#,
note#, Customer name and Customer address. I can do a simple dlookup based on
one single field say just account#, but I don't know how to do a dlookup
based on 3 fields combine. Is CONCATENATING all three fields the best way to
go, or is there any other way I can use that is more efficient. Any help is
very much appreciated.
(tblcustomer) that is based on mutilple fields. Here is an example, an user
will manually enter a bank#,account# and the note# on a form that I created,
and what I want this form to do is return the customer name in a text box by
going to an existing table (tblcustomer) using the combination of Bank#,
Account# and note #. TblCustomer contains these fields: bank#,account#,
note#, Customer name and Customer address. I can do a simple dlookup based on
one single field say just account#, but I don't know how to do a dlookup
based on 3 fields combine. Is CONCATENATING all three fields the best way to
go, or is there any other way I can use that is more efficient. Any help is
very much appreciated.