Hi,
I posted my problem earlier but now I have new question( I decided different approach):
I have set of records in one cursor(fields are order,orderline ,part,orderdate,QTY).If 2 records have the same order and orderline fields (those records following each other -I sorted them by order,orderline ),I want to skip the second record but add QTY to first record QTY field(first and second record refer to records with same order and orderline fields).How to manipulate data in this cursor and create second cursor that don't contain records with same order and orderline fields.What commands should I use?How to loop through records in cursor and implement logic to skip the records with same order and orderline fields but add QTY field?
I need help on this,
Thanks, Lyn
I posted my problem earlier but now I have new question( I decided different approach):
I have set of records in one cursor(fields are order,orderline ,part,orderdate,QTY).If 2 records have the same order and orderline fields (those records following each other -I sorted them by order,orderline ),I want to skip the second record but add QTY to first record QTY field(first and second record refer to records with same order and orderline fields).How to manipulate data in this cursor and create second cursor that don't contain records with same order and orderline fields.What commands should I use?How to loop through records in cursor and implement logic to skip the records with same order and orderline fields but add QTY field?
I need help on this,
Thanks, Lyn