He there!
Some days ago my colleague suggested to GET a record in WHILE construction to modify this record which is on the cycle, for example instead of this construction:
IF MyRec.FINDSET(TRUE) THEN REPAT MyRec.Value := Value1; MyRec.MODIFY; UNTIL MyRec.NEXT = 0;
she suggested to use the following construction:
IF MyRec.FINDSET THEN REPAT MyRec2.GET(MyRec.KeyValue); MyRec2.Value := Value1; MyRec2.MODIFY; UNTIL MyRec.NEXT = 0;
I see this not reasonable. Are there cases when we really do this way?
We use 2009 R2 but the qustion is opened for upper RTC versions as well.
Help to understand the issue please.
*This post is locked for comments