Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    San Francisco, CA, USA
    Posts
    184
    Thanks
    0
    Thanked 0 Times in 0 Posts

    References (2002)

    I never could understand when you would use referenes in a Access database. If I embed a Word doc in a OLE field should I reference Word?
    Frank

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: References (2002)

    No, you must set a reference when you want to manipulate other programs in code.

    For example, say you want to do a mailmerge in Word based on data in your database, but the Mailmerge Wizard doesn't give you enough control. By setting a reference to the Word object library, the VB editor in Access will recognize Word VBA. IntelliSense will provide lists of methods, properties, constants etc. Now you can create a Word application object in Access code, and control every aspect of the mailmerge.

  3. #3
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    San Francisco, CA, USA
    Posts
    184
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: References (2002)

    Thanks HansV,
    As usual your answers are very lucid and helpful to understand MS Access concepts.
    Thanks
    Frank

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •