
Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
DoCmd.TransferDatabase acImport, "Microsoft Access", "C:\Folder\DBname.mdb",
acForm, TrainingMaster, TrainingMaster
Where TrainingMaster is the actual form name. and "C:\folder\DBname.mdb" is
the location where the form is that I want to import into the current
database. My vb code deletes the current form (same name) and then should
import the new one.
Thanks
>That's fine, but you need to tell us what FrmName is in the one line of code
>you provided.
[quoted text clipped - 6 lines]
>>>>>>
>>>>>> Thanks
Douglas J. Steele - 22 Oct 2007 18:11 GMT
In that case, you need
DoCmd.TransferDatabase acImport, "Microsoft Access", "C:\Folder\DBname.mdb",
acForm, "TrainingMaster", "TrainingMaster"

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
> DoCmd.TransferDatabase acImport, "Microsoft Access",
> "C:\Folder\DBname.mdb",
[quoted text clipped - 19 lines]
>>>>>>>
>>>>>>> Thanks