Is it possible to return a query that includes a Command Button alongside each record

daveatthewell

New Member
Joined
Jul 28, 2006
Messages
43
Data is entered into my database via a form whose data source is a query which queries two or more tables. If I'm looking for a person in the database, I can either filter the form or run a query. The former returns a form whose source is effectively the filtered list, but then you have to step through each filtered record until you find the one you're looking for and if you're looking for Smith, there can be a lot of them. If I search by running a query, I can opt to display the results in datasheet view and then quickly find the correct record. I COULD update data here but with something like 20 fields, there'd be much scrolling across the record to find the field I'm looking for. I COULD return the results in a subform and thus allowing click events on individual fields, but it would be so nice if it was possible for the search query to return the results in datasheet view but with an additional field at the end (or beginning) which contained a command button that I could click to jump to the record and view it in the data input form. Wishful thinking or possible?!!!
Any thoughts from the experts?
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Couldn't you use a continuous form set up to appear like a data sheet?
 
Upvote 0

Forum statistics

Threads
1,214,381
Messages
6,119,192
Members
448,874
Latest member
Lancelots

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