Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on using VFP OLE DB provider
Message
From
30/09/2003 10:21:33
 
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00833430
Message ID:
00833473
Views:
17
Kevin,

I think you're right in that it's the /n causing the problem. And it's not just VFP backends, it happens with SQL Server also (and probably others). Yes, you can code around it by converting all the /n's before you send the data to the backend.

~~Bonnie



>This isn't really an ado.net question, but I didn't know where to put it.
>
>I have a winforms apps that's using VFP data and the newest OLE DB Provider.
>
>I have a screen with an edit box, that eventually gets saved to a memo field in the VFP database file.
>
>If the user enters some text and then hits and enters some more text in the edit box...the update back to the database table fails with an OLE DB exception error.
>
>I'm guesing it's because there's a '\n' in the string that gets posted back.
>
>Has anyone run into this? Can I code around it?
>
>Thanks,
>Kevin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform