BTW, what ODBC version do you have? The latest one is version 6, not 2.6. If you would use VFPOLEDB via ADO then it is in version 9. Both of then can work with tables in FoxPro 2.6 format.
Main Topics
Browse All TopicsI'm trying to store notes to a foxpro memo field through a .net application. I keep getting cut off at 254 characters which seems to be a limitation of the ODBC driver because i have no problem inserting large bodies of text through the regular foxpro application.
Does anyone know a practical way to store large bodies of text to a memo field through the ODBC? Is there a way to append new text to existing memo field so I'm not sending as many characters through?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Based on this description: http://www.foxite.com/arch
OleDbType enumeration is here: http://msdn.microsoft.com/
Maybe you will be forced to change bigger part of your code than only this one:
It seems even the foxite has errors in their examples... BUT I've fixed it and in VS2008 it works.
You have to use OdbcType.Text:
updateCommand.Parameters.A
The parameter size (10000 here) is the maximum parameter size. Longer strings will be truncated to this size.
Business Accounts
Answer for Membership
by: pcelbaPosted on 2009-08-12 at 14:29:20ID: 25083235
String literals are restricted to 254 chars, you must use variable. Please post code example.