Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Math problem
Message
 
 
À
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:
00613346
Vues:
19
>>>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.

Yes, Dragan, I was thinking in the same direction. Instead of using CutOff variable in Report, I can use this as a field. Still not clear, how to calculate it, but it could be resolvable. What I wanted to achieve (and fortunately it's not needed yet), it's the minimum modification of the existing reports. They are really complicated and though I can change them using "HACK" method, I prefer not to do it...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform