dwarvenmilitia
Programmer
Hi... I have very limited VB knowledge just to state.
I'm trying to export data from a table (entered via a form) to a new db with only some of the fields. In the form I have a button that is to run the event.
I managed to copy the DB with DoCmd.TransferDatabase but have no idea how to code from there.
ssatech suggested to this...
"What about running an append query for only those fields you want into a new table/temp table and than exporting that table. You could do it all (Run the query and export)from your command button."
This is precisely what I'm trying to do but have no idea where to start...
Would anyone be able to help please???
Cheers
I'm trying to export data from a table (entered via a form) to a new db with only some of the fields. In the form I have a button that is to run the event.
I managed to copy the DB with DoCmd.TransferDatabase but have no idea how to code from there.
ssatech suggested to this...
"What about running an append query for only those fields you want into a new table/temp table and than exporting that table. You could do it all (Run the query and export)from your command button."
This is precisely what I'm trying to do but have no idea where to start...
Would anyone be able to help please???
Cheers