× 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.



Is the cgiSetVar() using a numeric value in parameter two?

cgiSetVar('MO' : myVar)
Is "MYVAR" a numeric field? I can not be.

Use %char() to convert it.

cgiSetVar('MO' : %char(myVar))


-Bob Cozzi
www.RPGxTools.com
RPG xTools - Enjoy programming again.

-----Original Message-----
From: web400-bounces+cozzi=rpgiv.com@xxxxxxxxxxxx
[mailto:web400-bounces+cozzi=rpgiv.com@xxxxxxxxxxxx] On Behalf Of Douglas W.
Palme
Sent: Thursday, October 13, 2005 1:58 PM
To: Web Enabling the AS400 / iSeries
Subject: RE: [WEB400] Outputting html - rpgiv tools

When I compiled the program I am getting another error, specifically on the
%
MO% merge field.....

My html contains the following code Bob:
   <AREA onmouseover="window.status='Missouri'; return 
true"                                
       onmouseout="window.status=''; return true" shape=RECT alt="Missouri
--
- /%MO%/ Loads"
       coords=340,185,395,235  
href="">                                                     

The error I am getting on the compile listing is:

*RNF7536 30    418 000800  The type of parameter 2 specified for the call 
does not  match the prototype.                                     

Any ideas?



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.