I would think you would need to send the current record key with your
"submit" function. Your next page write would need to be a fresh page using
that key received to dsplay the next set of records changing the value of
the submit to be the next record key. The PageUp and PageDown will not
work like a subfile in a browser.

***
Regards,
Joe W Holt
Sr Programmer/Developer
Jack Onofrio Dog Shows, LLC
405.427.8181



From: "Smith, Mike" <Mike_Smith@xxxxxxxxxxxxxxxx>
To: "web400@xxxxxxxxxxxx" <web400@xxxxxxxxxxxx>
Date: 11/18/2014 02:21 PM
Subject: [WEB400] problems with CGIDEV2 zgbgetvarupper
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxx>



I am trying my first meaningful program with CGIDEV2.
I have it populating the first screen of the HTML, but I cannot get the
response from the pageup or pagedown button to show up in my program.

I'm basing my program loosely on a sample I found from a few years ago.
The buttons are defined as SUBMITs and call a little javascript to
determine if pageup/pagedown or refresh is pressed.

I can see that it is hitting the java script and the value of field
Irequest is populated with 'Pageup'

But when I get back into my program and execute

Irequest = zhbgetvarupper('Irequest') ;

The result always comes back blank and I'm at a loss as what to look for.

Thanks

Mike


Ps, I'll probably have more questions as I work through this program.



NOTICE: This message, including any attachment, is intended as a
confidential and privileged communication. If you have received this
message in error, or are not the named recipient(s), please immediately
notify the sender and delete this message.
--
This is the Web Enabling the IBM i (AS/400 and 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.