G
Guest
Hello all.
Currently I have a query that gives information based on region and the
region is the prompt in the query (select query). The button I have on my
form, uses an event procedure that opens that query, and obviously the user
gets the prompt, enters a region and there you go. I want to actually create
a seperate button for each region, but I dont want to create 8 queries to
match each button. Is there away in the VBA code of the buttons event
procedure to tell the prompt the information it needs? for instance the
central button would tell the query "Central" and there would be no prompt
for the user?
Currently I have a query that gives information based on region and the
region is the prompt in the query (select query). The button I have on my
form, uses an event procedure that opens that query, and obviously the user
gets the prompt, enters a region and there you go. I want to actually create
a seperate button for each region, but I dont want to create 8 queries to
match each button. Is there away in the VBA code of the buttons event
procedure to tell the prompt the information it needs? for instance the
central button would tell the query "Central" and there would be no prompt
for the user?