Advice on Append Append query (1 Viewer)

Andhurley710

New member
Local time
Today, 17:31
Joined
Apr 17, 2020
Messages
1
I hope this is simple enough but I am self taught on Access so I dont know everything lol...

I have a table for Invoices, very simple and a few fields

I can append the paid invoices to an Accounting Transaction table, when doing so there is a field in the Transaction table that should say income for all invoices archived.

Is there any way of doing this alongside the append query in a macro with another query? Possibly an update query so the user doesn't have to go through each record and select income for the invoices?

Thanks In Advance

Andrea
 

Minty

AWF VIP
Local time
Today, 17:31
Joined
Jul 26, 2013
Messages
10,368
You could run a single update query to do this assuming the invoice number is in both tables after the append has run.

Create a select query that joins the transaction and invoice tables joined by invoice number where the archive field is null

If that gets you to what you want to see, then change it to an update query and set the archive field accordingly.
 

Micron

AWF VIP
Local time
Today, 12:31
Joined
Oct 20, 2018
Messages
3,478
I can append the paid invoices to an Accounting Transaction table,
That sounds like duplication of data to me. Why would you not simply 'mark' the invoice table record as paid via a date value in a field named something like PaidDate?
 

Users who are viewing this thread

Top Bottom