Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Qlikview community
Unfortunately, I have found anything suitable in the forum. Is there a way by (Object ID) to read values? For example, I would like to read a value of a textboxes and fit elsewhere into a formula?
I thought of something like
getElementById(TX21). value ?
Thank you!
Best Regards,
I don't think you can do it without a macro. Using a macro and setting the text box value to a variable, you can do:
Sub Test
set mytext = ActiveDocument.GetSheetObject("TX01")
ActiveDocument.Variables("vTest").SetContent mytext.GetText, true
End Sub
The variable must already be created and TX01 is the Object Id of your Text Box.
I don't think you can do it without a macro. Using a macro and setting the text box value to a variable, you can do:
Sub Test
set mytext = ActiveDocument.GetSheetObject("TX01")
ActiveDocument.Variables("vTest").SetContent mytext.GetText, true
End Sub
The variable must already be created and TX01 is the Object Id of your Text Box.
Hi,
Is it possible to do vice versa. To set the value of the textobject through macro