General information
Category:
Forms & Form designer
Possibly you need to set exact off.
Usually I use refresh ThisForm.CustType.method for this. Like:
this.visible=(lower(alltr(this.value))='prospect')
Also you could add it to the button click event.
>I need to make a field visible only when a condition is met in a fomr.
>I would like this to show when the record is shown in a form.
>
>Example:
>I am using the wizard control buttons for next, prev. etc..
>While scrolling through the records I want a field to show up
>if the contents ='prospect' only and not when it ='customer'
>
>Tried in all properties of CustType but it didn't work
>
>IF ThisForm.CustType.Value='prospect'
> ThisForm.CustType.Visisvle=.T.
>Else
> ThisForm.CustType.Visisvle=.F.
>ENDIF
>
>Any suggestions?
>
>Andy
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only