Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have tried a variety of things to get my input box to clear... I have set the variable to '' in a button action as well as in a Document Settings Trigger. I have also tried to call the macro below through a button. Nothing is working. Can anyone help me?
sub input_clr
'Clear All input boxes
set ClearAllib = ActiveDocument.GetSheetObject("IB01")
ClearAllib.SetVariableContent 0,"",true
end sub
Thanks
I believe the problem is that you have rules for the value.
As blank is not a listed value, you just can't clear it.
If you add the blank option you can do it.
Bump
In the button actions there is an option in External/Set Value.
If you dont assign a value it turns blank.
That doesnt work?
No, blanking out the variable does not clear the input box. And I don't see an option to clear an object, only a field. I've attached a sample qvw. Thanks for looking inot it for me.
I believe the problem is that you have rules for the value.
As blank is not a listed value, you just can't clear it.
If you add the blank option you can do it.