Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Property is invalid on server, but works on local client

I create a demo.qvw, one list box, two buttons. Button A executes Macro SubA, Button B executes Macro SubB.

It works well on my local client, but after deploying to server, the macro does not work. Anyone can help me?

Thanks in advanced. My QV Server is 8.5 SR6.

function SelectFieldOnlyOne(FieldName,BoolValue)
set fld=ActiveDocument.GetField(FieldName)
set fprop = fld.GetProperties
fprop.OneAndOnlyOne = BoolValue
fld.SetProperties fprop
end function

sub SubA
call SelectFieldOnlyOne("A",true)
end sub

sub SubB
call SelectFieldOnlyOne("A",false)
end sub

1 Reply
pover
Luminary Alumni
Luminary Alumni

Ben,

I got the same result as you on the QV 9 SR 3 Server. Will have to play around some more, but maybe field properties are read-only in the server environment.

Karl