Jay,
Forget about double DO WHILE. Use one simple scan solution with IF/ENDIF. I use it all the time.
Message #
1357894>That does exactly the same thing. It still leaves the inner DO WHILE when the GroupHeading value changes and does not blank out the remainder of the set of records. I end up with every other record blanked out.
>
>>Replace the SCAN/ENDSCAN with another DO WHILE
>>
>>SELECT WorkListXMLCursor
>>GO TOP
>>DO WHILE !EOF()
>> GroupHeading = GroupHeading
>> DO WHILE GroupHeading = m.GroupHeading
>> SKIP
>> REPLACE GroupHeading WITH ""
>> ENDDO
>> SKIP
>>ENDDO
>>
If it's not broken, fix it until it is.
My Blog