Visible problem........
I'm new to VBA..... But I can't seem to get this to work using a macro.... I have a form...to print/preview reports 3 criteria- 3 radio buttons.. "By Date" "By #" and "By Job#" .... beside each button are two boxes for "From" and "To"..... I'm sure this is a common form,I see it alot....... I am having trouble with the "visible" on the "From" and "To" boxes........ All are set to "NO" on the unbound box property..I want no boxes to appear until a criteria is picked. So......... What I want is when you click "By Date" for the two "From" and "To" boxes for "By Date" to become visible.
I am thinking it should be something like an If...Then
If ByDate.value = 1 then
beginningDate.visible = true
EndingDate.visible = True
Any help???????
Thanks
I'm new to VBA..... But I can't seem to get this to work using a macro.... I have a form...to print/preview reports 3 criteria- 3 radio buttons.. "By Date" "By #" and "By Job#" .... beside each button are two boxes for "From" and "To"..... I'm sure this is a common form,I see it alot....... I am having trouble with the "visible" on the "From" and "To" boxes........ All are set to "NO" on the unbound box property..I want no boxes to appear until a criteria is picked. So......... What I want is when you click "By Date" for the two "From" and "To" boxes for "By Date" to become visible.
I am thinking it should be something like an If...Then
If ByDate.value = 1 then
beginningDate.visible = true
EndingDate.visible = True
Any help???????
Thanks