Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SCAN and DO WHILE logic
Message
 
 
À
28/10/2008 20:06:16
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01357888
Message ID:
01357894
Vues:
23
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform