Hello, lots of questions today.
I have a checkbox in a form. The form also contains a button that generates a report. The report contain a subform that has a textbox called Price. How do I change the color of the text, Am I on the right way??
(chkColor is a checkbox)
On the On open event in the report, this code runs:
If (Forms!GenerateReportForm!chkColor = True) Then
TheSubForm!Price.ForeColor = vbGreen
End If
- Tom
I have a checkbox in a form. The form also contains a button that generates a report. The report contain a subform that has a textbox called Price. How do I change the color of the text, Am I on the right way??
(chkColor is a checkbox)
On the On open event in the report, this code runs:
If (Forms!GenerateReportForm!chkColor = True) Then
TheSubForm!Price.ForeColor = vbGreen
End If
- Tom