Re-Order the Subfile records

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
ricturner
New User
Posts: 8
Joined: Wed Feb 05, 2014 6:10 pm
First Name: Ric
Last Name: Turner
Company Name: Jano Justice Systems, Inc
Phone: 6013627601
Contact:

Re-Order the Subfile records

Post by ricturner »

I want to re-order the records displayed in the subfile to position them differently, being able to move a selected record up and down within the subfile. This would be similar to the way the profound library list display works with the "move up" and "move down" buttons. Can anyone provide information on how that can be done? Thanks.
Library list display
Library list display
Capture.PNG (15.62 KiB) Viewed 436 times
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: Re-Order the Subfile records

Post by Scott Klement »

Unfortunately, there's no built-in way to do that right now. You would have to write the code to do that yourself.

For example, a button could return control to the RPG program, which could then re-load the subfile in the new sequence. Would that work for you?
ricturner
New User
Posts: 8
Joined: Wed Feb 05, 2014 6:10 pm
First Name: Ric
Last Name: Turner
Company Name: Jano Justice Systems, Inc
Phone: 6013627601
Contact:

Re: Re-Order the Subfile records

Post by ricturner »

Thanks Scot, I will try to code it in RPGLE. I was hoping that some javascript functions would be available to perform the move up and move down on the client. But thanks for your quick reply. Ric
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests