G
Guest
Hello everyone
I'd like to know if there is a way to detect when a form's command button is clicked(left) so that I can open a query
The reason I want to do this is because I want to open a query based on the information added to the form
the vb I had in mind is this
If Forms![Report Date Range].[Preview] = 1 then ' if the preview button is left clicke
docmd.openquery "openmyquery", , acRea
end i
Thanks for any suggestions or resolutions
Chieko
I'd like to know if there is a way to detect when a form's command button is clicked(left) so that I can open a query
The reason I want to do this is because I want to open a query based on the information added to the form
the vb I had in mind is this
If Forms![Report Date Range].[Preview] = 1 then ' if the preview button is left clicke
docmd.openquery "openmyquery", , acRea
end i
Thanks for any suggestions or resolutions
Chieko