|
Hi, In cgidev2, you have 2 updhtmlvar one for field less than 1024 char, and another for big field (updhtmlva2 ?). You can cut your field into 1024 pieces and in the html core concat it works. D mybigvar ds d piecofbig1 1024 d pieceofbig2 1024 ... updhtmlvar ('piece1' : pieceofbig1 ) updhtmlvar ('piece2' : pieceofbig2 ) HTML : /%Piece1%//%piece2%/ ----- Original Message ----- From: <Shane_Cessna@xxxxxxx> To: <WEB400@xxxxxxxxxxxx> Sent: Tuesday, December 12, 2006 3:08 PM Subject: [WEB400] CGIDEV2 field truncation...
All: I have a field in a file that's 5000 characters long...just a general notes field... What happens when I attempt to write it to a web page using updhtmlvar(), it truncates the field to only write out 1024 characters...hence, we're losing data...is there something I can do to avoid this?... P.S. I just put this into production as my first CGI production app...lots of people panicking about losing data...about to start pulling my hair out... Shane -- This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.