Refresh Table Data Based On ComboBox

t0ny84

Board Regular
Joined
Jul 6, 2020
Messages
205
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
  2. Mobile
  3. Web
Hi,

Sorry in advance if this doesn't make sense!

I am hoping someone can assist, I am currently building a Microsoft Access Database for my workplace to keep track of employees and their movements (e.g. Team Changes). I am trying to create an Employee Details Form like in the Student \ Time Card Microsoft Access Templates where I use a combo box to select from a list and once an employee is selected their details load in the fields on the form. I have tried importing this form and updating the source to my query but am unable to get the Embedded Macro to work. I am wondering if someone can please either explain how the Combo Box on the Templates are setup\work or alternatively what code (either Macro or Embedded Macro) could I use from scratch to have my form do the same.

Thanks in advance,
t0ny84
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Cross Post Links


 
Upvote 0
I suggest you describe the "business" you are trying to support with automation in simple English - no database jargon.
This could be as simple as a description of a Team, Employee, types of movements and details to be recorded.

The Student timecard template does not have identified relationships. Further, it uses attachment fields which many will advise should be avoided.

I see this has response on Accessforums.net Refresh Table Data Based On ComboBox
 
Last edited:
Upvote 0
Solution
To anyone looking at this thread for guidance - a VBA solution has been provided at:

 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,151
Members
453,021
Latest member
Justyna P

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