Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SCAN and DO WHILE logic
Message
 
 
To
28/10/2008 20:06:16
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01357888
Message ID:
01357894
Views:
24
This message has been marked as the solution to the initial question of the thread.
>And I do not want to change the order of any of the records. Not that that likely matters in an UPDATE statement. AND, there could be another set of SUBSCIBER records below DEPENDENT.

I would use
select myCursor && Order myCorrectOrderAsShown
lcGroupHeader = ''
scan
   if not GroupHeader ==  lcGroupHeader && New Group Starts
      lcGroupHeader = GroupHeader && First record is skipped
   else
     replace GroupHeader with ''
   endif
endscan
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform