Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Math problem
Message
De
31/01/2002 01:11:41
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00612981
Message ID:
00613203
Vues:
20
>>Maybe this is too easy but at the end of the exspression you can say:
>>
>>Whatever >= (Cutoff -+*/ somenumber)
>
>I'm not sure, I understood. Anyway, I spoke with my manager and he explained what he was talking not about reports (which would be really hard to change), but about some program, which I use to generate a file, which then processed by our Production department. So, my task becomes much easier (I hope). I haven't checked it yet, though.

Last time I had such a weird request, I actually sorted the data the way they would print... into a readwrite cursor, and then ran a scan on it replacing a few values as needed - and these values were used by the report or whatever needed to use these data later. Adding extra fields is no problem, so you could simply
do while !eof()
   lcGroup=CityOrCountyCode
   replace next 3 lPrintThis with .t.;
      while lcGroup=CityOrCountyCode
   count while lcGroup=CityOrCountyCode
enddo
assuming you have them ordered by city/county and top ranked guys first.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform