brickelldb
Registered User.
- Local time
- Today, 03:22
- Joined
- Mar 9, 2009
- Messages
- 70
Kind of stumped on this. Searching "append for each" just kind of throws me into standard quering articles. Any help would be greatly appreciated.
Table 1_Customer: ID, First, Last (2 records)
Table 2_Transaction: ID, CustomerID, Date, Amount
What I'm trying to do is create an append query that will insert a record into Table 2 for each record in Table 1.
Ex: My form has 2 fields: Date, Amount.
I want the append query to append 2 records into Table 2. 1 record for the 1st record of Table 1 and 1 record for the 2nd record of Table 1. But obviously would like for it to do it for EACH record in Table 1, regardless of how many records in Table 1. And where the ID from the record in Table 1 is in inserted in the CustomerID field of Table 2.
Table 1_Customer: ID, First, Last (2 records)
Table 2_Transaction: ID, CustomerID, Date, Amount
What I'm trying to do is create an append query that will insert a record into Table 2 for each record in Table 1.
Ex: My form has 2 fields: Date, Amount.
I want the append query to append 2 records into Table 2. 1 record for the 1st record of Table 1 and 1 record for the 2nd record of Table 1. But obviously would like for it to do it for EACH record in Table 1, regardless of how many records in Table 1. And where the ID from the record in Table 1 is in inserted in the CustomerID field of Table 2.