Hi all,
I have a table with many lines. Only the "Entry No." is diffrent between lines.
I have many identical lines 2 by 2, only the "Entry No." is diffrent.
And I want to modify every second line of these 2 lines.
I hope that u understand what I want to do.
I created a report but it changes the 2 lines.
Thanks
0
Comments
You can have something like...
loop := 0
IF EntryRec.FINDFIRST then
repeat
loop += 1;
IF (loop MOD 2) = 0 THEN
//modify 2nd record code
until EntryRec.NEXT = 0;
Good luck
[-X
sbilly, you should never be modifying entry tables directly.
You didn't mention Entry tables did you !
Good luck
Better would be:
The second TRUE in FINDSET(TRUE,TRUE) + using a second variable is maybe a little overkill, but it is definitely worth it using this technique to avoid possible problems that might arise if not using it. (problems like records that are skipped or changed multiple times,...)
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!