Hi,
On my form I disable checkboxes true this string:
---------------------------------------------
Private Sub Form_Open(Cancel As Integer)
If Me.Selectievakje273 = True Then
Me.Selectievakje274.Enabled = False
Me.Selectievakje275.Enabled = False
Me.Selectievakje303.Enabled = False
Me.Selectievakje277.Enabled = False
Else
Me.Selectievakje274.Enabled = True
Me.Selectievakje275.Enabled = True
Me.Selectievakje303.Enabled = True
Me.Selectievakje277.Enabled = True
End If
End Sub
--------------------------------
But I also want to be able to keep those boxes enabled if I print the report of this form.
I already tried to put this in the open event, but that gives errors.
So is there anyone who can help me.
What I want is: if I hit the print button on my form, the report fist checks if checkbox273 is true. If so disable the otherones.
Thanx
Xiphias
On my form I disable checkboxes true this string:
---------------------------------------------
Private Sub Form_Open(Cancel As Integer)
If Me.Selectievakje273 = True Then
Me.Selectievakje274.Enabled = False
Me.Selectievakje275.Enabled = False
Me.Selectievakje303.Enabled = False
Me.Selectievakje277.Enabled = False
Else
Me.Selectievakje274.Enabled = True
Me.Selectievakje275.Enabled = True
Me.Selectievakje303.Enabled = True
Me.Selectievakje277.Enabled = True
End If
End Sub
--------------------------------
But I also want to be able to keep those boxes enabled if I print the report of this form.
I already tried to put this in the open event, but that gives errors.
So is there anyone who can help me.
What I want is: if I hit the print button on my form, the report fist checks if checkbox273 is true. If so disable the otherones.
Thanx
Xiphias