Hi,
I have a report with a text box that pulls through a test that is request, this is hidden on the report as I also have x3 check boxes on the report for certain tests.
For Example:
If test displayed is 123 the check box for that test has a control value of =[Test]="123" Which then ticks the box.
This works fine for all the tests with tick boxes the problem I am having is that there is an option for other tests.
I need to somehow get it tick this for all the other tests that havent got tick boxes and also display the hidden test field.
I have tried the following VBA
If any one could kindly help me, I have been trying to figure this out for the last few days and it is starting to drive me mad.
Regards
Spike



I have a report with a text box that pulls through a test that is request, this is hidden on the report as I also have x3 check boxes on the report for certain tests.
For Example:
If test displayed is 123 the check box for that test has a control value of =[Test]="123" Which then ticks the box.
This works fine for all the tests with tick boxes the problem I am having is that there is an option for other tests.
I need to somehow get it tick this for all the other tests that havent got tick boxes and also display the hidden test field.
I have tried the following VBA
Code:
If Me.Test="ABC" Then
Me.Test.Visible=True
Me.CheckTest=-1
Else
Me.Test.Visible=False
Me.CheckTest=0
End If
End Sub
If any one could kindly help me, I have been trying to figure this out for the last few days and it is starting to drive me mad.
Regards
Spike


