>Does a class exist for a grid which has a checkbox as one of its columns? The plan is to perform an operation on child records based upon whether a check is in the box for a particular record.
>
>TIA for any helpful info,
>
>Bill
I frequently use checkboxes in grids. Here's how:
* Select the grid on the form.
* Choose the column (the one you want to add the checkbox to) from the dropdown list at the top of the Properties sheet.
* Select the checkbox tool from Form Designer toolbar, go back to form and click on the column to add it. (Scroll the grid first, if needed.)
* Go back to properties sheet and select that column's default textbox control.
* Click on the form's title bar and hit your delete key to get rid of the textbox. Your checkbox should appear in the grid now.
* Set the column's sparse property to .F.
* Remove the checkbox's caption (usually) and set the column's controlsource and width (usually small, like 25).
That should do it. Hope this helps.
--Greg
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only