How to Refer to Form Name?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Coolboy55
    New Member
    • Jul 2007
    • 67

    How to Refer to Form Name?

    I know there are other ways to refer to a form, but I'm just curious about this one: if you have a form with spaces in its name, how do you refer to it using the following syntax:

    Code:
    Form_Form Name.OLE.SourceDoc = Me![Path]
    Of course you could write,

    Code:
    Forms("Form Name").OLE.SourceDOC = Me![Path]
    but I don't like that format. :)

    CB55
    Last edited by Coolboy55; Mar 28 '08, 01:37 PM. Reason: Correcting a typo
  • aprpillai
    New Member
    • Mar 2008
    • 23

    #2
    Forms![Form Name].OLE.SourceDoc = Me![Path]

    Comment

    Working...