Michael - given what you've said already, I would suggest you STOP with your current design.
The invoice document is unique - to have it carry into next month as a regular line-item is a sure-fire way to get sued (or your client get sued) for violating the GAA** stuff. At the MOST, you would include a line-item that referenced in the current invoice, the prior UNPAID invoice, but not merge the invoice detail items. The invoice can be viewed as a legal document in most locales. If you munge it after it is generated, you (or your client) have stepped into a liability issue. If time is a problem, then I suggest you purchase the source code of an accounting system, study it, and mimic their behavior in your system. You can purchase the source code to an existing VFP accounting system up at http://www.smvfp.com/Priceacct.html#target3 On last check, total source code was about 1000 USD. Regards [Bill] -- William Sanders / efGroup {rmv the DOT BOB to reply} Mondo Cool TeleCom -> http://www.efgroup.net/efgcog.html Mondo Cool WebHosting -> http://www.efgroup.net/efglunar.html Mondo Cool DSL -> http://www.efgroup.net/shopfordsl.html VFP Webhosting? You BET! -> http://efgroup.net/vfpwebhosting Failing dotNet Project? -> http://www.dotnetconversions.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

