G
Guest
Fredq,
While searching for how to add a query to a switch board, I came across your
advice to some else (dated 3/1/2005 re:queries/switchboards), since was
search for the same info, I tried it.
I made the module and named the function as you did "OpenAQuery"
then replaced "TheQueryName" w/the actual existing query name
"NamesAlphaOrder" so my module looks like this:
The text
As per your instructions I opened switchboard manager, made the
additions to the main switchboard using edit mode.
Select the Edit mode and Click on New and Write
"Run a query" in the Text box (without the quotes).
While searching for how to add a query to a switch board, I came across your
advice to some else (dated 3/1/2005 re:queries/switchboards), since was
search for the same info, I tried it.
I made the module and named the function as you did "OpenAQuery"
then replaced "TheQueryName" w/the actual existing query name
"NamesAlphaOrder" so my module looks like this:
The text
Then, I saved the file under objects+modules+(name=)Queries1Public Sub OpenAQuery()
DoCmd.OpenQuery "NamesAlphaOrder" (without parenthesis)
End Sub
As per your instructions I opened switchboard manager, made the
additions to the main switchboard using edit mode.
Select the Edit mode and Click on New and Write
"Run a query" in the Text box (without the quotes).