subfile record number

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
rads
New User
Posts: 17
Joined: Thu Nov 08, 2018 2:08 am
First Name: Rainer
Last Name: aus dem Spring
Company Name: iks
Zip / Postal Code: 40699
Country: Germany
Contact:

subfile record number

Post by rads »

Good morning everybody,

according to the user help ist is not recommended to use
  • subfile record number
  • subfile return rrn
Is there any other method to keep the current grid position - same first line as before?

Best wishes,

Rainer
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: subfile record number

Post by Scott Klement »

Can you give us a little more context? Under what situation is it important to keep the same first line as before?

To put it another way: Please explain what you are trying to do (rather than how you tried to do it.)
rads
New User
Posts: 17
Joined: Thu Nov 08, 2018 2:08 am
First Name: Rainer
Last Name: aus dem Spring
Company Name: iks
Zip / Postal Code: 40699
Country: Germany
Contact:

Re: subfile record number

Post by rads »

Erm, your question is a bit surprising.
On green screens everybody did this.

Imagine the user scrolls to the 20th record and only 10 records fit into the grid. so that for every record after the 10th she has to scroll down.

Then the user double clicks on the 20th record in order to go to a detail display or maintenance.

When she returns from the called program the current SFL position is lost and the first record in the grid is record 1.

Our users have complained about this behaviour and were very happy with the solution we provided wich - alas -you do not recommend.

Best wishes,

Rainer
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: subfile record number

Post by Scott Klement »

For that type of application, I would recommend using the cursor record number to return the position where they left off. Then subfile record number to position back to that same position.
rads
New User
Posts: 17
Joined: Thu Nov 08, 2018 2:08 am
First Name: Rainer
Last Name: aus dem Spring
Company Name: iks
Zip / Postal Code: 40699
Country: Germany
Contact:

Re: subfile record number

Post by rads »

This is more or less what we do. However according to the user help it is not recommended to use subfile record number:

hardCopy.png
hardCopy.png (17.1 KiB) Viewed 2837 times

Best wishes,

Rainer
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: subfile record number

Post by Scott Klement »

Okay, now I finally understand what you're asking.

Yes, there are several properties that, in my opinion, were mis-identified as "legacy" -- but are not.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest