DoCmd.CopyObject

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rando1000
    New Member
    • Aug 2007
    • 80

    DoCmd.CopyObject

    Okay, can I use this command to copy a form from another database to the currentdb? I'm trying to create an "update" button that deletes the current form in the user's database and copies the newest version from a network database. It seems like this should work, but I can't find any examples of copying FROM another database.
  • janders468
    Recognized Expert New Member
    • Mar 2008
    • 112

    #2
    What you want to do is import the object in with docmd.transferd atabase one of the arguments is for object type you will want to us acForm as the object type.

    Comment

    • rando1000
      New Member
      • Aug 2007
      • 80

      #3
      Great, I'll give that a go. Thanks.

      Comment

      Working...