Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Something wrong with my code
Message
De
21/09/2004 06:47:56
 
 
À
21/09/2004 06:03:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00944451
Message ID:
00944467
Vues:
21
Does something like this will do the job?

SELECT ncli, COUNT(ncli) AS telno FROM active ;
GROUP BY 1 INTO CURSOR telno

SELECT active
INDEX ON ncli TAG descncli DESCENDING

SELECT telno
SCAN
lnncli=telno.ncli
IF SEEK(lnncli,"active","descncli")
SELECT active
REPLACE active.count2 WITH telno.telno
REPLACE active.Count1 WITH telno.telno WHILE active.ncli=lnncli
ELSE
* should be imposible but...
ENDIF
SELECT telno
ENDSCAN
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform