Bob B
Guest
I'm having trouble making the Media Object Structures function work for a get text action in an interactive form. Running E1 v9.0
The app puts an entry in F00165 just fine. I then want to retrieve the text into a TXVC variable, and subsequently write it to a different file. The code I use is as follows:
Media Object Structures(GT5687712, FC Media Object 13, <Exist>, VA frm_MOD_MediaStatus_VC02A, FI mnAddressNumber, FI mnEffectiveYear9)
If VA frm_MOD_MediaStatus_VC02A is equal to <Zero>
Call( App5687712 , Form:W5687712J )
FI cEverestEventPoint01 = ""
Else
FI cEverestEventPoint01 = "1"
Media Object Structures(GT5687712, <Default Media Object>, <Get Text>, <Default Text Object>, VA evt_MOD_TextString_TXVC, FI mnAddressNumber, FI mnEffectiveYear9)
The check for "Exist" returns a status value of 1, as it should, indicating the entry does exist in F00165. However, after executing the Get Text action, the variable that should receive the text value is always null.
What am I doing wrong?
The app puts an entry in F00165 just fine. I then want to retrieve the text into a TXVC variable, and subsequently write it to a different file. The code I use is as follows:
Media Object Structures(GT5687712, FC Media Object 13, <Exist>, VA frm_MOD_MediaStatus_VC02A, FI mnAddressNumber, FI mnEffectiveYear9)
If VA frm_MOD_MediaStatus_VC02A is equal to <Zero>
Call( App5687712 , Form:W5687712J )
FI cEverestEventPoint01 = ""
Else
FI cEverestEventPoint01 = "1"
Media Object Structures(GT5687712, <Default Media Object>, <Get Text>, <Default Text Object>, VA evt_MOD_TextString_TXVC, FI mnAddressNumber, FI mnEffectiveYear9)
The check for "Exist" returns a status value of 1, as it should, indicating the entry does exist in F00165. However, after executing the Get Text action, the variable that should receive the text value is always null.
What am I doing wrong?