mike60smart
Registered User.
- Local time
- Today, 01:57
- Joined
- Aug 6, 2017
- Messages
- 1,913
Hi Everyone
I have an Invoice type report with one of the Controls named "TaxExempt"
If this Control has a value of "Yes" I want the following to happen
Where would it be best to place this code?
Edit **
I placed the code in the On Open event of the form and I now get the following error
When I hit Debug it highlights this line
If Me.TaxExempt = "Yes" Then
I have an Invoice type report with one of the Controls named "TaxExempt"
If this Control has a value of "Yes" I want the following to happen
Code:
If Me.TaxExempt = "Yes" Then
Me.T.Visible = True
Me.Notice.Visible = True
Else
Me.T.Visible = False
Me.Notice.Visible = False
End If
Where would it be best to place this code?
Edit **
I placed the code in the On Open event of the form and I now get the following error
When I hit Debug it highlights this line
If Me.TaxExempt = "Yes" Then
Attachments
Last edited: