Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Math problem
Message
From
31/01/2002 01:11:41
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00612981
Message ID:
00613203
Views:
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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform