Avatar of Richard Teasdale
Richard Teasdale
Flag for United Kingdom of Great Britain and Northern Ireland

asked on 

Deleting records from 2 tables vfp

Hi:
I am running a capacity planning database. This copies all relevant records from oracle and stores them in a table called capacity. The copy routine is run several times a day, and the capacity is seen to rise as orders are added to oracle. I can report that at say 8am there were 5000 orders and at 5pm there were 5500 but have been challenged to provide details.
My solution is to create a copy of the capacity table (called lastcap) before the update, and again after (called thiscap). What I need to do is 'remove'  those records that are in both tables (or read only those that are in the later table). Does anybody know the best way of achieving this?
Thanks!
FoxPro

Avatar of undefined
Last Comment
Olaf Doschke

8/22/2022 - Mon