G
Guest
Table 1: List of Accounts that are used in a Crosstab query
Acct 1001 Witget Income
Acct 2001 Witget Shipping Expenses
Table 2: Monthly Store Income and Expenses listed by account numbers
Store 001 Acct 1001 $50,000
Store 001 Acct 2001 $ 1,000
Store 001 Acct 3333 $ 800
Sometimes, new Account Numbers appear in the Monthly Store data that are not
in the Main List of Accounts table. At present, I run a query using both
tables in a join to determine if there are new account numbers. Then I do a
table append query to add any new account numbers to the List of Accounts
table.
Is there a way to progamatically compare the two tables and pull in the new
account numbers to the Main List of Accounts table? I would appreciate a
code as well as a logic explanation.
Acct 1001 Witget Income
Acct 2001 Witget Shipping Expenses
Table 2: Monthly Store Income and Expenses listed by account numbers
Store 001 Acct 1001 $50,000
Store 001 Acct 2001 $ 1,000
Store 001 Acct 3333 $ 800
Sometimes, new Account Numbers appear in the Monthly Store data that are not
in the Main List of Accounts table. At present, I run a query using both
tables in a join to determine if there are new account numbers. Then I do a
table append query to add any new account numbers to the List of Accounts
table.
Is there a way to progamatically compare the two tables and pull in the new
account numbers to the Main List of Accounts table? I would appreciate a
code as well as a logic explanation.