How to Populate Data from a table to another

Joined
Jun 11, 2023
Messages
1
Reaction score
0
I have 2 tables A & B. A is a summary table and B is a breakdown of table A. I want to achieve that whatever is entered in Table A reflects in Table B.

jUIeZ.png



ReSql = "INSERT INTO " & XGetListObject(Sheet1.ListObjects(1)) & "([Account?],[count of'
'invoices],[value],[Percent]) " & _'
'"SELECT [Account?],[count of invoices],[value],[Percent] FROM "'
'& GetListObject(Sheet2.ListObjects(1)) & " as T2"
 

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