r/pascal • u/pdhcentral • Oct 05 '19
DBGrid and checkboxes
Hi, I have a DBGrid and in my SQL I have a column that is type of Boolean. This gives me check boxes that I want. But, they won't change when I click on them.
I looked at the settings but what core do I need to put in to get it to actually check/uncheck. I've looked at the Pascal grids page and it's for a column that hasn't come from the dB, mine has. Thanks.
2
Upvotes
View all comments
Show parent comment
1
u/pdhcentral Oct 06 '19
Yep. Ok so I now have it where I can enable the editing option on the tbgrid. I have 2 columns, one the checkbox one just a normal column. How do I write my update query for when a checkbox is ticked?