Skip to Content
0
Former Member
Jan 10, 2008 at 05:29 PM

Setting Check property checkbox error: Invalid Parameter [131-183]

147 Views

Hi,

I have a checkbox on a Form, and I added the following code to de click event:

oItem = oForm.Items.Item("cbGroup")

loCheckBox3 = oItem.Specific

If loCheckBox3.Checked Then

oGrid.CollapseLevel = 0

loCheckBox3.Checked = False

Else

oGrid.CollapseLevel = 1

loCheckBox3.Checked = True

oGrid.Rows.CollapseAll()

End If

The problem is that I get an error on setting the 'Checked' property, the error message is:

Invalid Parameter [131-183]

Odd thing is I have used this code on other forms and it's working fine. Do I miss something here?