Yea, that's my current approach, but I also added an input
field . . . mainly because I don't yet know better . . .
Thanks!
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of TheBorg
Sent: Thursday, November 07, 2013 12:03 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: subfile record select
A press of the Enter key with the sflcsrrrn coded will return the subfile RRN, and rtncsrloc can be used to return the field name in which the cursor is positioned and if needed the cursor position within the field.
;-)
"Gary Thompson" wrote in message
news:mailman.13010.1383850098.9013.rpg400-l@xxxxxxxxxxxx...
Doug,
Thanks, that's interesting.
Because this screen is for our warehouse, and the design of screens used there, I'll need to check first.
I did see RTNCSRLOC has a *MOUSE parm which returns row/column info.
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Englander, Douglas
Sent: Thursday, November 07, 2013 11:16 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: RE: subfile record select
Here is a neat thing I did a few months ago and the users loved it!
There was one row on an existing screen that had a unique key/number on it.
The users wanted to get an electronic report based on that number. The
solution I implemented used DDS and the mouse on the PC. The users could
mouseclick on that number and the system would call a process and then
present them with a display screen (DDS Window). They could read it, and
then press enter on that screen. Then they were back on the original screen
where they initially clicked.
I did this all with DDS and mouse clicking. I thought it would be very
difficult, but once I figured it out, it was a piece of cake. The only thing
you is you need Client Access (at least) for this. I have tried mouse
clicking with Rumba and Newlook, and neither Rumba nor Newlook seem to
recognize the mouseclick properly. But if the users have Client Access, it
should not be a problem. I know DDS also can do pushbuttons too, but I
haven't worked on that one yet.
It sounds funny, but giving users little things like this, even though
green-screen, seems to make them quite happy ("Wow, I didn't know you could
do THAT").
Doug
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.