Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append from .csv missing 1st row
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01592084
Message ID:
01592113
Views:
99
>Hi,
>I am saving an excel sheet into a .csv file (comma delimited). And I see (when opening the csv with notepad) that all rows from the spreadsheet are in the .csv file.
>
>Then when I append into a dbf from this .csv file, all BUT the first row in the csv are appended.
>Is this by design? What am I missing?
>TIA
>
>UPDATE. This is probably by design so I have to insert a "dummy" row at the top of the excel before saving it in CSV.

It depends on how you append into dbf.
APPEND FROM ... TYPE CSV will ignore 1st row
APPEND FROM ... TYPE DELIMITED will add all rows
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform