Table to Table with VBA

J

Jason

I need transfer a table of data to another table
with the use of VBA.

For example:
Read from table 1 then
perform some computation then write to table 2.

Can someone help.

Thanks
 
S

Steve Schapel

Jason,

It sounds like an Append Query would be the way to go here. Make a
Query based on Table1, including the computatrions and any criteria
selections, make it into an Append Query (select Appand from the Query
menu), nominate Table2 as the table to append to, and in the Apend To
row of the query design grid, make sure the applicable Query2 fields are
selected. If you want to run the append query with a macro, you can do
so using the OpenQuery macro action.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top