Query Button Problem

S

Shari

On my form, I need to put a button to run a query. When using the toolbox in
the Design View, I use the Command Button Toolbar, then use MIscellaneous,
then Run Query. I select the correct one, and save it to the form. When I try
to use it, I get an error message, and it will not work. What is going wrong?
 
J

John W. Vinson

On my form, I need to put a button to run a query. When using the toolbox in
the Design View, I use the Command Button Toolbar, then use MIscellaneous,
then Run Query. I select the correct one, and save it to the form. When I try
to use it, I get an error message, and it will not work. What is going wrong?

How on Earth could we know?

Please post the actual code you're using; the name of the query; and the error
message.

John W. Vinson [MVP]
 
K

Klatuu

Post the code for the command button, the error message and number, and point
out the line on which the error occurs.

We aren't there and can't see your app.
 
Top