Hello ...
I have an Access 2007 app, and I need a routine to export all table data, and then import this table data into a new version of my compiled stand alone executable Access app.
I came across a situation that halted using spreadsheets as an intermediary. My customer table contains a field called "attachment s" which holds.... yeah you guessed it.... attachments ! : - )
.
I lose the attachments when exporting to the spreadsheet.... so I can not use spreadsheets in my export/import for at least my customer table...
.
I do not want to split my db into a front end and a back end.....
.
My desire and hope is for anyone that would care to share their knowledge and a bit of VBA code:
.
... Is there a way to export the data to another db say, containing identical tables... (with the db under a diff name obviously.)
.
Actually what I am asking is...Is there a way to code in VBA (behind a command button) the ability to send data to another db... Say, my original db app: DB_old and the intermediary db : DB_temp.
All I would want is to copy the data from my old version db (DB_old) to another (DB_temp), table1 in DB_old to table1 in DB_temp.
Then I would also need to code a way to get data from DB_temp to my new db app, DB_new. So from within DB_new, I would click a button and it would import (copy) data from table1 in DB_temp to table1 in DB_new
.
How would I code that ? all VBA? create macros that I would call in VBA?
.
As I mentioned, I would like to have buttons that my user would click to transfer data from an old version of my compiled app to a new version of the db app via the intermediary db, DB_temp.
.
Thank you in advance....
.
Regards,
.
Bruce V. aka OASys1
I have an Access 2007 app, and I need a routine to export all table data, and then import this table data into a new version of my compiled stand alone executable Access app.
I came across a situation that halted using spreadsheets as an intermediary. My customer table contains a field called "attachment s" which holds.... yeah you guessed it.... attachments ! : - )
.
I lose the attachments when exporting to the spreadsheet.... so I can not use spreadsheets in my export/import for at least my customer table...
.
I do not want to split my db into a front end and a back end.....
.
My desire and hope is for anyone that would care to share their knowledge and a bit of VBA code:
.
... Is there a way to export the data to another db say, containing identical tables... (with the db under a diff name obviously.)
.
Actually what I am asking is...Is there a way to code in VBA (behind a command button) the ability to send data to another db... Say, my original db app: DB_old and the intermediary db : DB_temp.
All I would want is to copy the data from my old version db (DB_old) to another (DB_temp), table1 in DB_old to table1 in DB_temp.
Then I would also need to code a way to get data from DB_temp to my new db app, DB_new. So from within DB_new, I would click a button and it would import (copy) data from table1 in DB_temp to table1 in DB_new
.
How would I code that ? all VBA? create macros that I would call in VBA?
.
As I mentioned, I would like to have buttons that my user would click to transfer data from an old version of my compiled app to a new version of the db app via the intermediary db, DB_temp.
.
Thank you in advance....
.
Regards,
.
Bruce V. aka OASys1
Comment