Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_InteractInteraction

Public Function Safe_OpenForm (
FormName As String,
Optional View As Integer = acNormal,
Optional FilterName As String = "",
Optional WhereCondition As String = "",
Optional DataMode As Integer = acFormPropertySettings,
Optional WindowMode As Integer = acWindowNormal,
Optional OpenArgs As String = "",
Optional SuppressError As Boolean = False
) As Long

Open report, fail silently if error occur.
See DoCmd.OpenForm for details on the parameters.

FormName as String

(no description)

Optional View as Integer = acNormal

The view mode for the form

Optional FilterName as String = ""

The filter condition

Optional WhereCondition as String = ""

The where condition

Optional DataMode as Integer = acFormPropertySettings

The display mode

Optional WindowMode as Integer = acWindowNormal

The display mode

Optional OpenArgs as String = ""

The display mode

Optional SuppressError as Boolean = False

The display mode

Call Template:

Dim i As Long
i = xf.Interact.Safe_OpenForm(FormName)
i = xf.Interact.Safe_OpenForm(FormName, View, FilterName, WhereCondition, DataMode, WindowMode, OpenArgs, SuppressError)

See Also:

Example 1:

Safe_OpenForm "fmClinicVisit"
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd