G
Guest
I have a form that has a cmd button when pressed it request a parm and than
run a union query and displays the results in a subform on the main form. The
problem is that when I first open the main form it always wants the parm
entered. if I say OK and leave the parm empty the form opens correctly if I
give it a value it opens correctly. I don't want to do either when I open the
main form. the button is for a search query and does not need to run unless I
request it after I open the main form. How can I stop this from requesting
the parm at the open for the main form.
run a union query and displays the results in a subform on the main form. The
problem is that when I first open the main form it always wants the parm
entered. if I say OK and leave the parm empty the form opens correctly if I
give it a value it opens correctly. I don't want to do either when I open the
main form. the button is for a search query and does not need to run unless I
request it after I open the main form. How can I stop this from requesting
the parm at the open for the main form.