Detecting Data

Dave31

Registered User.
Local time
Today, 07:50
Joined
Oct 11, 2006
Messages
68
I have multiple forms, one of which you can view meeting details (form 1), if a mistake is spotted, there’s an ‘amend’ button which brings up a text field to enter in the description.
Now I have another form (form 2) that you can view the meeting details later on, and I want it to display the amendment description if there’s something typed there.
So on form 2, if there’s no amendment description (from form 1), the field stays hiding, but if there’s an amendment description in the field, the field will be visible.
So is there a way to display a field if there’s data entered, or keep it hidden if no data is present?

Thanks in advance
 
in the oncurrent event of the form

testfield.visible = not isnull(testfield)
 

Users who are viewing this thread

Back
Top Bottom