Updating records in a form

alanponeill

New Member
Joined
Oct 6, 2004
Messages
22
I have a form that is using a table as a data source.

I want to be able to filter the form based on various criteria (using the buttons on the toolber) and then at some point be able to set the value of a Y/N field on each data record included in the filtered list to -1.

I have created on action button with code which will be executed on Double Click of the mouse and reckon that I should define a record set as the filtered form list but do not know how to set the filtered form data source as the recordset source.

I cannot use a query as the users will not know what filters they wish to perform at the start of the process.

Am I going about it the best way or is there a better way? If so, how do I proceed? If not, what should I do instead?
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,221,899
Messages
6,162,686
Members
451,782
Latest member
LizN

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