Populate fields in form by changing value in combobox

Shweta

Well-known Member
Joined
Jun 5, 2011
Messages
514
Hi,

I have a employee_table with five fields:- Emp_code,Emp_name,Salary,DOJ,Status

I have a userform with one combobox and four textboxes. In combobox I have a list of Employee codes(taken from the above table) .

What I want is textboxes fields to be auto-populated from the given table on selection of Employee code in combobox.

I hope I am clear on my query. Please revert in case of further clarification.

Thanks!

Regards,
Shweta Jain
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi,
You can search for this topic by googling keywords "cascading comboboxes msaccess" or "dependent comboboxes msaccess".
You will find a few different strategies, I think. The tutorial I have followed and implemented before is this one:
Access Tips: Cascading Lists for Access Forms

ξ
 
Upvote 0

Forum statistics

Threads
1,221,816
Messages
6,162,149
Members
451,746
Latest member
samwalrus

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