Field Properties from a Reference Variable

Greetings -

It could be possible, I just have never done a reference variable like that. I have used these techniques in group and queue quite a bit. You will have to use the TUFO interface, which is not documented by SV. It has been reverse discovered by users and mostly used in the debug trace that uses debug view++

You can find some examples of the techniques documented and used in some of the current trace debuggers. The Ultimate Debug (John Hickey) or the Debuger (Mark Goldberg).

If it is a referenced variable, you will have to do a bit of more work. You might need to use the NAME attribute to put the information in the name field, and then parse it out to find out what you need.

It is a field, so if you have an FEQ on a screen, you can use the internal call to get the reference name, which can give you the name of the USE() variable. The TUFO interface and NAME() attributes will give you anything else that you might need. Look at Mr. Bruce’s suggested external NAME() standard document. A Proposed Convention for the Extended use of the Name Attribute The Clarion Live webinar episode describing this is at https://www.clarionlive.com/BrowseEpisodes/ww!528

You might need a class to parse the NAME attributes, and there is an example of such a class in the RYB free templates at GitHub - RobertArtigas/RYB: Run Your Business (RYB) template collection.

Good luck with it.
Regards
Roberto Artigas