Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Putting the Blank back into empty numeric fields
Message
 
 
À
13/03/2007 18:43:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01203203
Message ID:
01203205
Vues:
15
>I'm finishing a project that has "converted" fp 2.5 for DOS to VFP 9. One of the programs opens a table and copies it to a text file (type SDF). In 2.5 blank numerics were created with the replace command and copied to the text file as blanks. In VFP the numerics are, well numeric with a zero value which is then copied to the file. They want to see blanks again. I could open the text file and stuff the values but have been looking for a way to get VFP to either leave the blank numerics empty and/or copy them as blanks.

The behavior of COPY TO command is different in VFP. The numeric fields are copied to the text files as zeros regardless if they are 0 or empty in the table.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform