Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dbf to txt
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01141644
Message ID:
01141659
Views:
13
This message has been marked as a message which has helped to the initial question of the thread.
>I used COPY TO file.TXT type SDF
>
>All is OK but only problem in price field (numeric)
>
>it was exported as: 88.00
>
>They want it without "." and completed with zeros as the the size of the DBF field
>
>It should be exported as 000008800
>
>Thanks
>
>Moises
SELECT ......, PADL(INT(TRANSFORM(Price*100)), 9, [0]) AS Price;
    FROM ...
INTO CURSOR crsCopy
SELECT crsCopy
COPY TO file.TXT SDF
USE IN crsCopy
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform