dbTalk Databases Forums  

Transfer record info from one Access db to another

comp.databases.ms-access comp.databases.ms-access


Discuss Transfer record info from one Access db to another in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
The Frog
 
Posts: n/a

Default Re: Transfer record info from one Access db to another - 11-25-2010 , 08:14 AM






Hi John,

I need to make a correction to my earlier statements. The SQL to use
should actually be a SELECT INTO statement. eg/

SELECT *
INTO [PathToMdb].[TargetTable]
FROM [LocalTableName]
WHERE conditions.......

The Frog

Reply With Quote
  #12  
Old   
JohnP
 
Posts: n/a

Default Re: Transfer record info from one Access db to another - 11-26-2010 , 09:23 AM






It is now working. I can pass record details in any language from an
Access db to another Access db. The procedure is as follows:
EXPORT
1) Click on an Export button which opens up a form asking for the
pathname of the mdb or mde to be created.
2) Create the mdb using CreateDatabase(strFullPathname,
"tblCustomerIE") This creates the db from scratch with the required
fields.
3) Create the link to the mdb and copy the values of the fields you
want.

IMPORT
1) Click on an Import button which opens up a form asking for the
pathname of the mdb file.
2) Create the link to the mdb.
3) Copy the required fields

Thanks to all and happy Thanksgiving,
John

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.