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


  • Subject: Re: Locking the Keyboard
  • From: booth@xxxxxxxxxxxx
  • Date: Tue, 10 Oct 2000 03:58:56 GMT

Here's how I did this:

The screen wasn't a subfile but was instead an array.   The entry fields 
were fixed across the bottom of the screen.  As the user filled the fields 
for one record and entered out of the last field, the line was processed, 
the data was validated, the record was written/updated, and an array of 14 
elements was moved to an array of 13 elements (so that array element #1 
fell off).  Then the 13 element array was moved back to the 14 element 
array.  Then the new data was written to the 14th element and the array 
written back to the screen.  The effect created was that the user always 
entered in the same place, helping with eye conflict issues, and the data 
entered seemed to be rising up the screen and off.  It was a pleasing 
effect for the user.

That was on a Sys/34 when memory was a concern.  Today I'd want to do the 
same thing but work it someway so the user could scroll the file back, and 
select a line to put back in the box for editing.

The nice thing about this solution in my mind is that the bell only rings 
when validation fails, and pagedown/up is not a factor.

This is a modification of the idea you put forward, but I  had the feeling 
you made the post because you weren't entirely comfortable with the user's 
plan?


_______________________
Booth Martin
Booth@MartinVT.com
http://www.MartinVT.com
_______________________




"G.R.Srinivas" <srinivasgr@yahoo.com>
Sent by: owner-rpg400-l@midrange.com
10/09/2000 10:31 PM
Please respond to RPG400-L

 
        To:     RPG400-L@midrange.com
        cc: 
        Subject:        Locking the Keyboard

Hi everyone,

I believe that this question would have been raised in this forum, but
I would appreciate your little time in helping me with a suggestion.

I have an input subfile that has 6 fields (all numeric). The control
part has two input fields. The user wants to enter the control fields
and automatically go into the subfile area and keep entering the values
into the subfile. User never looks at the screen while entering the
data. When the user enters the last record, they want the keyboard to
be locked with a beep sound. This will help them from entering further
values and they can press either enter (to confirm) or pagedown to
start entering fresh set of records in the subfile. The subfile is
initialized with 1000 records and there are about 18 records displayed
on the screen. Hence when the user presses pagedown the control does
not come into the program.

I thank everyone in advance for a supportive suggestions.

Regards
ChetanP


__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: 
david@midrange.com
+---




+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.