Hello all helpers.
I am trying to learn VBA.
I have two forms, one FormA and one FormB.
In FormA I have a button "Other_info"
In FormB I have a txt_field "Other Info".
When something is written in the txt_field in FormB, I want the button "Other_info" to be visible in FormA. Els not.
This is my code:
If Len(Me.[Other Info].Value & "") > 0 Then
Forms!FormA!Other_Info.Visible = True
'Else
'Forms!FormA!Other_Info.Visible = False
'End If
This do not work.
I get a message that the system do not find "FormA"
I am grateful for any tip.