Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generate records in a related from a query or VBA???

Status
Not open for further replies.

DorenM

Programmer
Mar 4, 2002
5
US
Hello! Hope someone out here can get me going in the right direction. I'm trying to create journal entries based on the number of months between two dates, the beginning and end of a contract in the CONTRACTS table. I want to generate a record for each month a contract is active and post a dollar amount on each record in the Contracts_Detail
table. (MORE DETAIL: A contract active from 01/01 to 06/01 for $6,000 should generate entries in the ContractsDetail for field-value: Rec-1, Date-01/01, Amount-$1000; Rec-2, Date-02/01, Amount-$1,000; etc through Rec-6, Date-06/01, Amount-$1,000. The "Rec-x" values aren't important, but the other two field values are.)

Is this a VBA solution or an append query solution?

Thanks so much for your help! :)
D.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top