Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use MAX() in a calculated field?
Message
De
26/01/2007 09:23:18
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01189404
Message ID:
01189558
Vues:
9
>>>>
>>>>You didn't accidentally multiply or divide, instead of subtracting?
>>>>
>>>
>>>No.
>>>
>>>>Also check the field width in the report, and the numeric format, e.g. "###" will show asterisks if you have four digits.
>>>
>>>I have no choice to specify how many digits to be printed in the column. Just the width of the column. But the values are very small (no more than 4 digits). And in fact when I was using simple DATE_FLD1 - DATE_FLD2 as an expression the number were showing without any problem. It is when I get the DATE_FLD1 - DATE_FLD2 from within IIF() the number are super large. Strange ...
>>
>>How about a cast().
>
>The same result, a bunch of asterisks. Thank you.

Do you have any .Null. values?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform