I am seeking whether it is possible to programmatically:
- Begin with a field name : say "Misc Taxable"
- Detect the datatype of that field : I can do this with the built-in function datatype()
- Then if the datatype is a drop-down-list, go to the datatype definition and retrieve the field's Static Text Values
You might be asking why I do not simply use itemname() but I am in a situation where I need a get one of these text values and I have no window open to pass that function a window field. Is there no other method of achieving this besides itemname()?
*This post is locked for comments