Hi Paul
This is the code i have used:
if (iVar==0){
Page.Subform.presence ="visible"}
else {
Page.Subform.presence ="hidden"
}
This works fine if it is the only click event, however if there is a code prior to this where you have two conditions (0,1) then it does not seem to work. I know the code before it is correct as immeditaely before thisan if (iVar == 0) statement works correctly so I am not sure what the problem is.