I don't know what tips you got yesterday, but why not return
this.parent.first_field = 'Y' in the When of second_field? Or, better yet, make the first field boolean and use the Y/N picture format?
>First field , LostFocusEvent :
>
>if this.value = "Y"
> This.parent.second_Field.enabled = .t.
>else
> This.parent.second_Field.enabled = .f.
>endif
>
>Second Field , WhenEvent :
>
>If this.Parent.First_field.value = "Y"
> This.value = table.second_field
>else
> This.value = ""
>endif
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