P
Philippe
Hi,
I am trying to write a module to test if a query is open.
Function IsQueryOpen(pstrQuery As String) As Integer
Dim db As DAO.Database
Dim qd As DAO.QueryDef
Set db = CurrentDb
Set qd = db.QueryDefs(pstrQuery)
Set qd = Nothing
Set db = Nothing
End Function
But then I don't know what property i have to use to test
if it is open?
Thanks
hilippe
I am trying to write a module to test if a query is open.
Function IsQueryOpen(pstrQuery As String) As Integer
Dim db As DAO.Database
Dim qd As DAO.QueryDef
Set db = CurrentDb
Set qd = db.QueryDefs(pstrQuery)
Set qd = Nothing
Set db = Nothing
End Function
But then I don't know what property i have to use to test
if it is open?
Thanks
hilippe