I am trying to create a key table lookup on a form template that needs to access the form's dataid. I tried using this code:
select valstr FROM LLUSER . LLATTRDATA
WHERE DEFID = 112475 AND ATTRID = 28 and
id in (select dataid from lluser . dtree where
dataid in (select parentid from lluser . dtree where
dataid in (select parentid from lluser . dtree where dataid = < dataid >)))
I make the form from the template, and when I try my dropdown, I get this message:
Livelink Error: [The attribute named "dataid" was not found though it was referenced in the definition of "Size_Code".]
I know that the dataid is shown in the URL as objId.
Is there an easy way to reference the forms dataid (objId) in a form template?
I am using Livelink 9.7.1