Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Solution to Memo Field in JSP/Java
Message
De
16/01/2003 22:40:19
Edward See
Magicalogic Consultancy System
Quezon, Philippines
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Solution to Memo Field in JSP/Java
Divers
Thread ID:
00742738
Message ID:
00742738
Vues:
135
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
Répondre
Fil
Voir

Click here to load this message in the networking platform