Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Width of Calculated fields in select-SQL
Message
De
25/09/1998 08:40:26
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00140679
Message ID:
00140769
Vues:
27
>>How can width of calculated fields in Select-SQL command be formatted ? If we take sum of 2-3 numeric fields of N 11,2 width using select-SQL , the resultant width sometimes is more than N 14,2 and if I am showing the result of the cursor from select-SQL directly in a list box - I have to keep the width of the column in list box accordingly.
>
>Sudhir,
>Use: SELECT field1*field2 + 00000000.00 as CALCFIELD .......
>
>Just add the length you want to each calculated field.
>
>HTH
>Barbara

This is the reply I started to type, Barbara, but it looks like he needs to cut digits off, not add them.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform