Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loop
Message
De
15/02/2005 16:58:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Loop
Divers
Thread ID:
00987226
Message ID:
00987226
Vues:
52
I have a cursor called "temp" with a listing of usernames. I would like it to loop through the second command and create a txt file for every user in my temp cursor. It's only grabbing the first user. Any help appreciated.
SELECT sendername FROM special;
 GROUP BY sendername;
 into cursor temp
 
 count1 = RECCOUNT()

 
FOR n = 1 TO count1
  SELECT customer, name, descriptions FROM special WHERE temp.sendername=sendername
  SKIP 1
  CD c:
  COPY TO (temp.sendername) deli with ""  with tab
  
  endfor
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform