Lookup and display a value from a table based on value in other cell?

Rich_B

Board Regular
Joined
Aug 16, 2014
Messages
239
Hi

I have a textbox that I wish to auto populate with data based on the value entered into an adjacent box.

QUOTE_REF_1 is a four digit integer say "1287".

When 1287 is entered into the QUOTE_REF_1 control I want Access to search my table tblCLIENT_DETAILS and find the 1287 row and return the value from the CLIENT_NAME field on that row and display it in the textbox control CLIENT_NAME on my form.

I'm sure this can be done but I'm struggling.

Any guidance appreciated.

Thank you
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,221,827
Messages
6,162,202
Members
451,752
Latest member
freddocp

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top