Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select min(x,y)
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00168438
Message ID:
00168443
Views:
37
>Don,
>
>I don't believe you can use MIN(v1,v2) in a select, You use MIN(field) and it compares all contents. Youl have to select MIN(f1), MIN(f2) then get the minimum from those values.
>
>-Tom

Thanks, I forgot that MIN() and MAX() were reserved SQL commands and are basd on aggregate purposes. I have changed it to IIF() but thought I was going crazy... Just one of those duplicate functions names with different uses.
Previous
Reply
Map
View

Click here to load this message in the networking platform