M
Michael Wong
Hi,
I am trying to display a list of all queries I have in a database with the
code below, and I got some named: ~sq_aFormName~sq_aControlName wich I
cannot see in the queries list.
What are they? How can I do to just display the normal one I can see in the
queries list?
Private Sub ListQueries()
Dim query As QueryDef
For Each query In CurrentDb().QueryDefs
Debug.Print query.Name
Next query
End Sub
I am trying to display a list of all queries I have in a database with the
code below, and I got some named: ~sq_aFormName~sq_aControlName wich I
cannot see in the queries list.
What are they? How can I do to just display the normal one I can see in the
queries list?
Private Sub ListQueries()
Dim query As QueryDef
For Each query In CurrentDb().QueryDefs
Debug.Print query.Name
Next query
End Sub