Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP5 Select Query
Message
De
05/07/2000 05:27:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
VFP5 Select Query
Divers
Thread ID:
00388246
Message ID:
00388246
Vues:
37
How do a set the field width in a select statement. I'm probably being particularly obtuse this morning, but I can't find it in the docs.

fld1 & fld2 are character fields
myfunc returns a variable length string

select fld1, myfunc( fld2 ) as myfld2, 123 as newfld3 from .......

I want myfld2 to be 120 chars & newfld3 to be numeric width 5 no dp.

Any help would be appreciated.
Mike

"I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong." - Richard Feynman
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform