× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You don't seem to be setting the PTRLEN value in the example you posted.
Hence if the length is ZERO, you'll get nothing.

-Bob Cozzi
www.RPGxTools.com
If everything is under control, you are going too slow.
- Mario Andretti


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Greg Weber
Sent: Thursday, May 12, 2005 9:21 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] How to use updHtmlVar2?

Here's what I tried.  It doesn't fail, just returns blanks in the
/%need%/ variable in the HTML.
 
d prjneed         s           2980a
d ptrlen            s              10i 0
d ptrneed         s               *
 
then
 
prjneed = WREQNEED;
ptrneed = %addr(prjneed);
updHtmlVar2('need': ptrneed : ptrlen);
 
 
Could someone provide a code sample to help?  Thanks.
Greg Weber
Washington Corporations
Web & Application Development
E-mail: gweber@xxxxxxxxxxxx <mailto:gweber@xxxxxxxxxxxx>  
Phone: (406) 523-1687
 
-- 
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.