Public Function DbQueryExists (
QueryName As String,
Optional dbs As DAO.Database = Nothing
) As Boolean
Does the Query exist in the database ?
Look in this database (default to the current database)
Dim b As Boolean
b = xf.Interact.DbQueryExists(QueryName)
b = xf.Interact.DbQueryExists(QueryName, dbs)
DbQueryExists("qryClinicVisit")