When I click on a button I want to run a query which will use the current buttons name or caption in it's criteria section. I can do it for a button. How do i do it for the currently selected button.
Thanks
Lewie
Thanks for the quick answer.
what i want is to extract the caption of the currently selected button and pass it to a query.
forms!myform!currentbutton.caption
is there any such syntax to extract the caption from the currently selected button.
forms!myform!btn_1.caption will give me the caption to btn_1 but then i need a query for every button.
I know i can get at a current record with a recordset I was just wondering if it was possible to get the caption(or properties) off the currently selected button(or object)
Thanks again
Lewie
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.