Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lowest Number of 4 fields
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01142110
Message ID:
01142130
Vues:
8
>Hi Kirk
>
>>I have a record that has four numeric fields, I need to use the lowest value of those four fields. Is there an easy way to do this without having to code a if than else if then type structure?
>
>How about:
>
wait window MIN(MIN(fld1, fld2), MIN(fld3, fld4))
Intermidiate MINs are not necessary. The MIN() can accept more than 2 parameters.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform