Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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