You are correct Sir, and I was wrong. It can be done with one cursor. I let a COBOL approach get in the way of thinking this out better. The COBOL approach has you opening two files, reading a record from each, doing the comparison, altering the master record if needed, using a loop (reading the next temp record, etc.). That's where the idea of two cursors came from. Oops. And I was on such a good roll of not putting my foot in my mouth.Quote:
Why would you need more than one cursor?
