Put this line in the refresh of each textbox:
This.visible=This.value>0
>ok,
>at command button at click,
>i see at myform ex..
>
>tex1 have value as 25 ,visble=.t. becuse i need to see this number
>text2 ...... 10
>test3....... 0 visble=.f. becuse no number
>text4....... 50
>text5....... 0
>.
>.
>.
>
>
>thanks
>
>>I am afraid that I don't understand. Please give some examples where you want visible=.T., and some examples where visible=.F.
>>
>>>hi,
>>>i try under command button as
>>>This.visible=thisform.text4.value>0 or thisform.text5.value>0
>>>if thisform.text4.value=0 or
>>>thisform.text4.value=0 or thisform.text5.value=0
>>>
>>>the command button disappaer ,
>>>i need as under
>>>if thisform.text4.value=0 && visible=.f.
>>>thanks
>>>>
This.visibe=txtBox1.value>0 or txtBox2.value>0 or txtBox3.value>0 or txtBox4.value>0 ..... or txtBox10.value>0
>>>>
>>>>
>>>>>hi all,
>>>>>any idea,help .
>>>>>
>>>>>if i have 10 textboxes at my form as thisform.text1.value to thisform.text10.value or mor,
>>>>>
>>>>>if any textbox >0 visible=.t
>>>>>else
>>>>>visible=.f
>>>>>endif
>>>>>
>>>>>thanks.