Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_InteractInteraction

Public Function DbObjectExists (
ObjectType As AcObjectType,
ObjectName As String,
Optional dbs As DAO.Database = Nothing
) As Boolean

Does the object exist in the database ?

ObjectType as AcObjectType

An AcObjectType: acTable, acQuery, acModule, acForm, acReport, acMacro, acDataAccessPage

ObjectName as String

The name of the object

Optional dbs as DAO.Database = Nothing

Look in this database (default to the current database)

Call Template:

Dim b As Boolean
b = xf.Interact.DbObjectExists(ObjectType, ObjectName)
b = xf.Interact.DbObjectExists(ObjectType, ObjectName, dbs)

See Also:

Example 1:

DbObjectExists(acReport, "rptVisitReport")
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd