Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange numeric field values
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Strange numeric field values
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01109091
Message ID:
01109091
Vues:
74
I use CAs to manage SQL Server data, but when I receive data some numeric fields (defined as numeric(6,2) or numeric(5,1) in SQL Server table) have values w/o first zero if they are empty. I get .00 or .0 instead of 0.00 or 0.0.
When I use CursorSchema for that cursorAdapter there is no difference. Even if I copy the result as VFP table and open it with HexEditor values are still .00 or .0. How can I get results with leading zero for that fields?
Strange thing is that for other fields I get correct (for me) results.
TIA
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform