Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_ControlsControl Related

Public Function ReplaceFormReferenceKeyword (
f As Form,
SourceStr As String
) As String

Replace the keyword in RowSource sql with the full reference to the passed form. Keywords: [Me] or Me The passed form Keywords: [Parent] or Parent The passed form Keywords: [GrandParent] or GrandParent The passed form Uses the xf.Gen.ReplaceIdentifier method so as not to replace fragments matching the identifiers.

f as Form

The form.

SourceStr as String

The SQL containing the keywords to replace.

Call Template:

Dim s As String
s = xf.Controls.ReplaceFormReferenceKeyword(f, SourceStr)

See Also:

Example 1:

cboClientVisits.RowSource = ReplaceFormReferenceKeyword(Me, cboClientVisits.RowSource)
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd