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



HI Peter
That logic I already have and its working



Sent via the Samsung GALAXY S® 5, an AT&T 4G LTE smartphone


-------- Original message --------
From: Peter Dow <petercdow@xxxxxxxxx>
Date: 9/5/19 19:54 (GMT-05:00)
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: [EXTERNAL] Re: Tabbing to a DDS output field

And you need to know which subfile line it was on?

Try keyword SFLCSRRRN(&myrrn) on the subfile control record. &myrrn is
the name of a hidden field on the subfile control record that will
contain the rrn of the subfile record the cursor is on, or zero if the
cursor is not on a subfile record. Example from the manual:

A R CTL01 SFLCTL(SFL01)
A SFLSIZ(25)
A SFLPAG(4)
A SFLDSP
A SFLEND
A SFLCSRRRN(&RELRCD);
A RELRCD 5S 0H


On 9/5/2019 1:16 PM, Alan Shore via MIDRANGE-L wrote:
Thanks for the reply Peter
My apologies - I should have mentioned this - but the screen is a subfile and that particular field is on ALL the lines on the display

Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
‘If you're going through hell, keep going.’
Winston Churchill

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Peter Dow
Sent: Thursday, September 05, 2019 4:11 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: [EXTERNAL] Re: Tabbing to a DDS output field

Hi Alan,

If the idea is that they want to prompt that field with a function key, why not just use a specific function key for that field instead of F4? Leave the field output only. It won't matter where the cursor is.

--
*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
petercdow@xxxxxxxxx <mailto:petercdow@xxxxxxxxx>
pdow@xxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxx>

/
On 9/4/2019 12:40 PM, Alan Shore via MIDRANGE-L wrote:
Thanks for your reply George
The code is in fact reading the value of that field, if they move the cursor to that field and prompt it with an F4
THAT'S the reason why I do not want the user the ability to change the value in that field, but have the capability to tab over to it

Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of George Smith
Sent: Wednesday, September 04, 2019 3:30 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: [EXTERNAL] Re: Tabbing to a DDS output field

But if there is no code in the program to read the blank field and put it in the file what should it matter. Unless of course if the file data name matches the screen field name. Of course a Hidden Field in the DDS takes up no real estate on the screen and could be used to put back the value if altered. Just compare the two fields and if different put the Hidden field value back in the Display field.

George Smith.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com

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.