J
Jan T.
I have a database containing table "tblCustomers" and
table "tblPayments".
Now, I want to run a query to Insert new payments for certain
customer that have some criteria. That is, if the customer has
StatusID <> 2, a new record should be added to the table
tblPayments. Is this possible to do in a query?
The table tblPayments has the following fields:
PaymentID
CustomerID
PaidAmount
Date
I tried to do this with VBA but it failed. It would probably be
much easier to do it with SQL.
Any help would be very much appriciated. Thank you in advance.
JGT.
table "tblPayments".
Now, I want to run a query to Insert new payments for certain
customer that have some criteria. That is, if the customer has
StatusID <> 2, a new record should be added to the table
tblPayments. Is this possible to do in a query?
The table tblPayments has the following fields:
PaymentID
CustomerID
PaidAmount
Date
I tried to do this with VBA but it failed. It would probably be
much easier to do it with SQL.
Any help would be very much appriciated. Thank you in advance.
JGT.