Find and Edit Records via Form

Jonbob

Board Regular
Joined
Feb 6, 2003
Messages
160
I have a userform where people enter data based on 6 bounded combo boxes and 12 (monthly) open text boxes. The 6 bounded combo boxes make up the primary key.

I am looking for a way to allow a user to choose a key using the combo boxes, retrieve the record, and update the monthly fields.
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
How comfortable are you in writing VBA for Access?

Basically, the process here is to use the Combo Box entries to build an SQL statement to create and run the query with that criteria. I often you the Query builder to build what each part of the query should look like (go to SQL view after you build it), then recreate it in VBA to build that statement in SQL.
 
Upvote 0

Forum statistics

Threads
1,221,773
Messages
6,161,855
Members
451,724
Latest member
sledparty

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