form1.Guideline_Choices.Guideline_Choices::change - (FormCalc, client)
if(Guideline_Choices == "Fences") then
Fences.presence ="visible"
Roofs.presence = "hidden"
Guideline_Choices = "hidden"
elseif(Guideline_Choices == "Roofs") then
Roofs.presence = "visible"
Fences.presence = "hidden"
Guideline_Choices = "hidden"
endif
When I select "Fences", the subform for "Roofs" is displayed. When I select "Roofs", the subform for "Fences" is displayed. Any idea what might be wrong?
Views
Replies
Total Likes
well you are missing ".presence" after Guideline_Choices but I think the problem is you have the code in the wrong event. Try putting it in the exit event of Guideline_Choices and it should look like this:
if ($ == "Fences") then
Fences.presence = "visible"
Roofs.presence = "hidden"
$.presence = "hidden"
elseif ($ == "Roofs") then
Roofs.presence = "visible"
Fences.presence = "hidden"
$.presence = "hidden"
endif
Views
Replies
Total Likes
Thanx for the speedy response. I'll give your suggestion a shot later this
evening.
Views
Replies
Total Likes
Thanx for the speedy response. I'll give your suggestion a shot later this
evening.
Views
Replies
Total Likes