Creating a blank query programatically

bpaquette

Registered User.
Local time
Today, 06:13
Joined
Aug 13, 2003
Messages
119
perused the vast access world threads for this answer, to no avail.

trying to simply create a blank query through access. i want the user to simply be able to click on a button and have a new blank query pop up.


there's gotta be a method to this.. anyone?
 
bpaquette said:
click on a button and have a new blank query pop up.

Do you mean you want the query design grid to pop up ?
 
exactly -- can it be done?
 
This command:
DoCmd.RunCommand acCmdNewObjectQuery
will bring up the New Query window, but you must still tell it what type of query you want.
 

Users who are viewing this thread

Back
Top Bottom