Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Html textarea to VFP memo field
Message
From
21/12/2002 20:56:06
Edward See
Magicalogic Consultancy System
Quezon, Philippines
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00735079
Message ID:
00735205
Views:
8
Merry Xmas Rick

in java
String memoString = request.getParameter("memoField");
Connection conn = DriverManager.getConnection("jdbc:odbc:Customer",null,null);
PreparedStatement stmt = conn.prepareStatement(sqlFieldDescription);
stmt.setString(1,memoString);
stmt.executeUpdate();

using mySql, there are no problems on varchar or SqlServer on Text field
only in VFP memo field where memoString is longer than 255 chars

>>Hi anyone,
>>why is it that i cannot save a long string into a VFP memo field ( being truncated ) from html textarea ( equiv to editbox control ) using javaserverpages or JSP ?
>
>What are you doing exactly to save the value?
>
>One thing to understand is that if you use literal strings you will have to adhere to VFP's 255 character string limit. If you use ODBC/OleDb you need to make sure you use named parameters for longer values.
>
>+++ Rick ---
Use things, not people. Love people, not things
Previous
Reply
Map
View

Click here to load this message in the networking platform