Testing to see if a query is open
From: Philippe (anonymous_at_discussions.microsoft.com)
Date: 02/27/04
- Next message: anonymous_at_discussions.microsoft.com: "Re: Duplicate Update Problem"
- Previous message: deckard: "Calculating pace for a query"
- Next in thread: MGFoster: "Re: Testing to see if a query is open"
- Reply: MGFoster: "Re: Testing to see if a query is open"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 27 Feb 2004 12:05:23 -0800
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
:P hilippe
- Next message: anonymous_at_discussions.microsoft.com: "Re: Duplicate Update Problem"
- Previous message: deckard: "Calculating pace for a query"
- Next in thread: MGFoster: "Re: Testing to see if a query is open"
- Reply: MGFoster: "Re: Testing to see if a query is open"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|