CR XI R2: I need code that would do the job of Next(Next()) (which obviously doesn't work).
I'm sure it's some For/Do While but I'm not good at those yet. What I have now is
If Next({Table1.Field2})>0 Then ToText({Table1.Field2}) Else ""
This looks at the next record, but I need to look at the next one after that. If the next record is >0 it will be 1; if the next record after that is >0 it will be 2.
Thanks in advance. Sorry this is such a basic question
I'm sure it's some For/Do While but I'm not good at those yet. What I have now is
If Next({Table1.Field2})>0 Then ToText({Table1.Field2}) Else ""
This looks at the next record, but I need to look at the next one after that. If the next record is >0 it will be 1; if the next record after that is >0 it will be 2.
Thanks in advance. Sorry this is such a basic question