Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export a form from one database to another 1

Status
Not open for further replies.

GSMike

Programmer
Feb 7, 2001
143
US
Does anyone know how to do this through code?
I have a form that is an "upgrade" for a client and I want them to be able to just "click" to receive the upgrade.
I know the location of the client's database, so I can direct the form from the upgrade GUI to the original database.
Thanks for your help.
michael.kemp@gs.com
 
Access 2.0 used to allow you to export forms but Access 97 requires you to import them implementing a pull requirement. I may be wrong but I don't believe you can do this any more.

Steve King
 
Mike

You can import or export a form useing the TransferDatabase method. The systax is:

DoCmd.TransferDatabase [transfertype], databasetype, databasename[, objecttype], source, destination[, structureonly][, saveloginid]

If you need anymore help let me know.
Shane
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top