I have a detail table that contains line items for sales orders. I also have a current line items cursor (same structure) that contains 1 or more line items for the current order being processed. The current line items could also exist in the line items table. My problem is this. I need to exclude any rows that exist in both the table and the cursor for some balance calculations. I can't use the construct NOT IN (Select ... from the cursor records) in my SQL statement due to design rules of the accounting package
(They have their own SQL processing objects which allow the package to be used with a VFP or SQL backend). I have tried using a right outer join with the exclusion table on right hand side and it will work correctly with 1 record in the exclusion table. More than one record, it doesn't work.
(They have their own SQL processing objects which allow the package to be used with a VFP or SQL backend). I have tried using a right outer join with the exclusion table on right hand side and it will work correctly with 1 record in the exclusion table. More than one record, it doesn't work.