How to retrieve data from access into a userform

Mlbblue

New Member
Joined
Oct 8, 2006
Messages
20
Hi,

I'm looking for a bit of help with this problem. I'd like to retrieve a single record from a .mdb file straight into a user form.

For example the .mdb file has one table with 13 fields

On my user form I have 13 fields which correspond to the fields from the table.

Using a unique identifier (field 1) I'd like to retrieve that record straight into the fields on the user form. The user then has the option of making changes to any of those fields and then updating the corresponding record in the .mdb file.

I've seen plenty of examples of retrieving records to the worksheet but so far my searches have not found what I'm looking for above.

Any help with this query is appreciated! :biggrin:

Cheers

Mark
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,214,952
Messages
6,122,454
Members
449,083
Latest member
Ava19

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