Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Solution to Memo Field in JSP/Java
Message
From
16/01/2003 22:40:19
Edward See
Magicalogic Consultancy System
Quezon, Philippines
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Solution to Memo Field in JSP/Java
Miscellaneous
Thread ID:
00742738
Message ID:
00742738
Views:
134
to anyone who might have the same problem
the solution to saving a long string to a VFP memo field from textarea HTML/JSP in JAVA
String sql = "UPDATE tablename SET memofield=? WHERE custID=1";
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection conn = DriverManager.getConnection("jdbc:odbc:"+DBConn,null,null);
PreparedStatement stmt = conn.prepareStatement(sql);
stmt.setObject(1,sql,Types.LONGVARCHAR);
stmt.executeUpdate();
Use things, not people. Love people, not things
Reply
Map
View

Click here to load this message in the networking platform