Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handling M type in export files
Message
 
 
To
11/09/2013 22:04:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01582931
Message ID:
01582934
Views:
63
>Okay, I know there is a trick to this.
>
>I am writing a program that will iterate a VFP database and create pipe separated text files with no quotes and the data appropriate massaged for the SQL tables that will bulk upload them.
>
>I have some memo fields.
>
>I can do something clumsy that initailly puts a blank character in the column that will go to the SQL varchar(max) and then dummy up something to suck data in ( I do NOT want to use any kind of OLE or OLEDB to connect ot VFP if I can get around it. )
>
>Does anybody have tricky magic??

Check this message #1563037 although I think your approach should work (I used a similar idea moving from Excel to VFP). I took first 254 characters and only when memo was longer (few rows) made the update as a separate process.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform