Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all
set lb = ActiveDocument.GetSheetObject("LB21")
lb.SetInputFieldCell 0,"1"
set lbPropFields = lb.GetProperties
This solution was given in QLIK View API.but i m unable to implement it?Solutions needed.As in API ,the description of
SetInputField is of adding a record......help needed
Regards
Sikandar
Hi Sikandar,
The SetInputFieldCell API will change the value of that cell - but only if the field that is in that ListBox is an Input Field (defined in the script). Is your field an Input field?
I just tested this and it worked as expected.
Note, it does not "add" a record, it modifies the input value (which can then be reset to original by the user).
What, exactly, are you trying to achieve.
Regards,
Stephen
Hi Stephen.
Thanks for given me the knowledge.Basically what i want is .i have taken an input box .I want to enter a text value or numeric value in to
the input box,After entering the value in the input box ,a button must be click on which the macors must runs
and move that value to list box and saves it..Please provide also the macro coding .....Any solution will be
very helpful to meee......Thank you soo muchh
Regards
Sikandar
Hi Sikander,
If you want to add a new value to a ListBox then you are going to have to investigate the new functionality to add new data into the dataset using Macros.
Regards,
Stephen
HI Stephen
Thank you soo much for the information.I will look foward to it,,
Sikandar