Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 03 AUG 2000 12:38:42AM G. Farrugia wrote:

Is there any easy way how to identify the display fields contained in a LIST/SELECT statement (i.e. ignoring other clauses such as WITH/BY). Perhaps, using an available subroutine, locating these display fields in a special variable?


At 03 AUG 2000 02:18AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:

No, the parsing is done in RTP18.ENGLISH where the variables are constructed locally rather than in a system common variable. They are not externally accessible.

The Sprezzatura Group

World Leaders in all things RevSoft


At 04 AUG 2000 02:32PM Don Miller - C3 Inc. wrote:

Well ..

It depends on "easy". I suppose you could write a parser that sits in a routine maybe called XLIST where its TCL sentence would be:

XLIST R/LIST sentence … beginning with LIST, SORT, SELECT or SSELECT. However, as you know, this is not a trivial piece of code.

Anyway, if you do this, you need to save your display variables in either a common block or @USERn such that something else can deal with it.

Don Miller

C3 Inc.


At 06 AUG 2000 05:04AM Richard Hunt wrote:

No subroutine that I know about. I do know a trick you might want to know about. If you add the option (X) to your list sentence, it will create a row in a table that contains the actual rbasic code that is created to actually process the rlist report. You can then find the display fields in that source code.

One more note on this…

When you use the (X) option the system will prompt you for the table and row to save the source code to. The system uses the window from the table SYSWINDOWS row RLIST.RTP18

I use this option to see "how they do it", sometimes.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/a57bbd39c9a5c61b8525693000198411.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1