Spiel.1984
New member
- Local time
- Today, 11:16
- Joined
- Feb 24, 2010
- Messages
- 5
Hi there,
What I am trying to do is make certain information visible depending on what has been entered already. I have written the following code;
If Me.Type = "MTA" Then
Me.Recipient.Visible = True
Else
Me.Recipient.Visible = False
End If
If Me.Type = "NDA" Then
Me.Partner_Organisation.Visible = True
Else
Me.Partner_Organisation.Visible = False
End If
This does the job, however I cannot make it automatically refresh. I have tried popping macros or writing the code into various different events, but the only way to get the screen to refresh and the correct control to be displayed is to either exit the form and re-enter or to click refresh all. What am I doing wrong? Any help would be greatly appreciated.
Cheers
Neil
What I am trying to do is make certain information visible depending on what has been entered already. I have written the following code;
If Me.Type = "MTA" Then
Me.Recipient.Visible = True
Else
Me.Recipient.Visible = False
End If
If Me.Type = "NDA" Then
Me.Partner_Organisation.Visible = True
Else
Me.Partner_Organisation.Visible = False
End If
This does the job, however I cannot make it automatically refresh. I have tried popping macros or writing the code into various different events, but the only way to get the screen to refresh and the correct control to be displayed is to either exit the form and re-enter or to click refresh all. What am I doing wrong? Any help would be greatly appreciated.
Cheers
Neil