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



Don,

Every time you make a request to the server, you are going to lose
anything you don't pass in on the request. It sounds like what you need
to do is either add parameters to your links so they pass whatever you
need to save in or you need to use forms to interact with the server
instead of just links.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Don Cavaiani
Sent: Friday, March 09, 2007 6:58 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Net.data - Variable Scoping

Pete - That's what I have attempted to do, but I just get LOST in the
"looping".  I was just hoping to set up the fields as GLOBAL variables
somehow, but there does not seem to be a surefire way to do that either.


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Pete Hall
Sent: Thursday, March 08, 2007 8:24 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Net.data - Variable Scoping

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You could write hidden form fields containing the date range in the data
entry form page. When you post it, the data will be available to the cgi
program just like any other form field. The html element would be
something like: <input type="hidden", value="whatever" />

Pete Hall
pbhall@xxxxxxxxxxxxx
http://pbhall.us


Don Cavaiani wrote:
I read a file which contains the beginning and ending dates of a 2 
week (14
days) Pay Period.  The user selects one of the 26 Pay Period lines (in

a Year) which returns a href statement with the values of the 
beginning and ending date fields.  This then displays all of the 14 
individual days (for timesheet
update) from the pre-prepared 14 daily timesheet days for that user.  

The user then selects one of these days - which then performs another 
href with all of the individual day's fields - in UPDATE mode - where 
the User can now enter his timesheet data.
  
When the user updates his timesheet data on that one day, I would like

to re- display all of the 14 days in this pay period, (BASED ON THE 
beginning and ending dates from the first selection ABOVE), but I 
cannot figure out how to SAVE and PASS the beginning and ending Pay 
Period dates from the very first selection made above???


Don F. Cavaiani
IT Manager
Amerequip Corp.
920-894-7063
 
'Treat every person with kindness and respect, even those who are rude

to you. Remember that you show compassion to others not because of who

they are but because of who you are.'--Andrew T. Somers

"When faced with the choice of being 'right' or being 'kind', choose
the kind option every time."


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF8MU9pcZsDl8OX6kRAgx3AKCIVO/TID4abJ5zhKja9hTYbllFHgCgjUG6
7Z/FvA2qTlXqfrzvh14Xd+o=
=vGul
-----END PGP SIGNATURE-----
--
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.