Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Oops! MIN & MAX in SQL commands
Message
From
13/02/2003 16:20:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
13/02/2003 11:30:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00752219
Message ID:
00752902
Views:
10
>I see my mistake. Sorry for "my" confusion "again" <g> I was thinking more along the lines of maximum of the table then compare to 99; not individual records.

You can easily get both - either the maximum of field, within a group of grouped records, or the equivalent of max(MyField, 99) or any other number, for an individual record. The latter, with the expression I gave you.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform