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.
The form.
The SQL containing the keywords to replace.
cboClientVisits.RowSource = ReplaceFormReferenceKeyword(Me, cboClientVisits.RowSource)