T
Tony Williams
I have a table (tbladdresses) of 4 digit branch codes (txtcode) and addresses
(txtunitname). The last 2 digits of the txtcode is the code for the
individual addresses (the first two are the area). I have a combobox
(cmbbranch)control on a form which shows the 4 digit code (txtcode) and I
want to populate another control on the form with the txtunitname relevant to
the 4 digit code the user chooses. I've tried using something like
DLookup("[txtunitname]","[tbladdresses]","Right([cmbbranch],2) but then got
lost!
Can someone help me please?
Thanks
Tony
(txtunitname). The last 2 digits of the txtcode is the code for the
individual addresses (the first two are the area). I have a combobox
(cmbbranch)control on a form which shows the 4 digit code (txtcode) and I
want to populate another control on the form with the txtunitname relevant to
the 4 digit code the user chooses. I've tried using something like
DLookup("[txtunitname]","[tbladdresses]","Right([cmbbranch],2) but then got
lost!
Can someone help me please?
Thanks
Tony