Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FoxFile -> XLS and the number 65535
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01023249
Message ID:
01023688
Vues:
14
Amazing that this was not emphasized enough in the section about SQL-Commands / Select. I mean, it is obvious now.... but, I took it for granted VFP knew to either pull the full values from the table and display them properly, or to get the 0, without ill-effect.

Oh well.... does MS-SQL or Access do any better in this regard?

>Don't know, but it was just one of this little tricks I remember from back in the 2.6 days, pre VFP.
>
>>You learn something NEW-OLD everyday around here!!! I wonder if this is in the HELP with VFP somewhere?????
>>
>>>Known way that SELECT works. If the first value the SELECT pulls is 0, the field would only be 1 numeric wide, not large enough for your use. Setting the field to a 0 value as you've disccovered with the proper width fixes it. In VFP9, this can be dealt with using the CAST() function.
Tommy Tillman A+ NetWork+ MCP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform