Tbirdbully
Technical User
I am using CR XI
I am tryign to compair in excel row 1 with the rows below until it reaches no subcode (a,b,c,d)
I have a SWCODE field that has 4 or 5 char in it.
0400
0400a
0400b
0401
0402
0402a
if Length({Sheet1_.SW Dir Code}) = 4 and Next({@length}) then next({Sheet1_.SW Dir Code}) +" " + next({Sheet1_.Product Name})
where @length = ({Sheet1_.SW Dir Code}) = 5
this is because crystal dosn't like length() after next() it expects a field.
the problem with this is it will output the code and product for the next row but if there is more than one additional product it dosnt check below the "next()" row.
is there any next+1() command
i can't find anything online... any help please?
thanks in advance
I am tryign to compair in excel row 1 with the rows below until it reaches no subcode (a,b,c,d)
I have a SWCODE field that has 4 or 5 char in it.
0400
0400a
0400b
0401
0402
0402a
if Length({Sheet1_.SW Dir Code}) = 4 and Next({@length}) then next({Sheet1_.SW Dir Code}) +" " + next({Sheet1_.Product Name})
where @length = ({Sheet1_.SW Dir Code}) = 5
this is because crystal dosn't like length() after next() it expects a field.
the problem with this is it will output the code and product for the next row but if there is more than one additional product it dosnt check below the "next()" row.
is there any next+1() command
i can't find anything online... any help please?
thanks in advance