>I have a 2 column grid on a form that lists the contact names for a student chosen from a combobox. The grid has a textbox in column1 with the contact name and a checkbox in column2 for selection. The recordsource for the grid is a view that contains all contacts for all students. When a student is chosen from the combobox, the view is filtered on that student.
>
>The problem I am encountering, is that sometimes when I go to click the checkbox beside a contact name, it won't let me and a message on the status bar says the control is read-only. This problem is very intermittent.
>
>Any thoughts?
Use the debugger to check to see if the checkbox is visible when you have the read-only problem. I had a similar problem dynamically adding a check box to a grid. Even though the base class explicity had the visible property set to .T., when added to the grid it, for some reason was re-set to .F. The workaround was to add a line in the checkbox's Init to set the visibility to .T.
George
Ubi caritas et amor, deus ibi est