Takes 3 parameters, QueryName, SourceQuery, bWork


Creates a new Query Object that can then be referenced by name in other Query related commands.

If QueryName is the only parameter specified, this will create a new, empty Query.

The SourceQuery is an optional parameter that specifies a Query to copy into the new Query.

bWork is an optional boolean value that, if true, will set the NewQuery to the Work Query.


QueryName, SourceQuery, bWork
QueryName, SourceQuery, [""]
QueryName, [""], [""]


NewQuery "Me.Example"

NewQuery "Me.AnotherExample", "Me.Output"

NewQuery "Me.YetAnotherExample", "Me.Output", "y"