Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CSV blank spaces
Message
From
23/04/2014 11:16:17
 
 
To
23/04/2014 11:08:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01598918
Message ID:
01598919
Views:
60
>CSV problem: when I export a CSV file in VFP7, a blank text field puts a space between " ". My web developer says I can't have the space! Can anyone help? Thanks, Randy

Something like this will open the file, remove all the wrong data, and save it back:
lcFile = "yourfile.csv"
strtofile(strtran(filetostr(lcFile),'" "','""'),lcFile)
Previous
Reply
Map
View

Click here to load this message in the networking platform