Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help on numeric values.
Message
De
02/05/2001 03:18:24
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Help on numeric values.
Divers
Thread ID:
00502357
Message ID:
00502357
Vues:
70
Hi

Can someone please help me with:

1) I need to zero fill numeric values, the PADL() functions seems to work with only character data types.

2) Unload all the fields in a table text delimited with comma delimiters seperating the fields, but the problem is that the fields must be unloaded in the same size than it is defined in the table.
Example: catalogue (XX12) - char(6) and lot number (453) = numeric, therefore it must be unloaded as "XX12 ",00453,
I am currently using the "COPY TO" command, but it seems that you cannot unload delimited and in fixed format?

3) Our COBOL program created a flat file which is comma delimited and the text fields are in quotes and the line is ended with a ','. To get the comma I added a dummy field to the table (numeric 1) to get the comma at the end of the flat file. The problem is now that the numeric field unloads a 0 (zero). I do not want a value to be unloaded. How can I get rid of that 0 and replace it example with a .NULL.

Thank you

Irene Grassow
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform