demifelix
06-22-2009, 06:06 PM
Hi,
I'm new to VBA, and I have a question about checkbox in Access. I have something like below:
Row Col A Col B Checkbox
1 1 2 FALSE
2 1 1 FALSE
3 1 3 FALSE
4 1 2 FALSE
.....
100 1 3 FALSE
I would like to be able to do the following: when the checkbox in row 1 is checked, the checkbox in row 4 will also be checked instantly since the values in Col A and Col B are the same. In other words, I need to go thru all the rows, check to see if the values in Col A and B are the same, and set the checkbox value to be the same.
Any help is really much appreciated.
Thanks.
demifelix
I'm new to VBA, and I have a question about checkbox in Access. I have something like below:
Row Col A Col B Checkbox
1 1 2 FALSE
2 1 1 FALSE
3 1 3 FALSE
4 1 2 FALSE
.....
100 1 3 FALSE
I would like to be able to do the following: when the checkbox in row 1 is checked, the checkbox in row 4 will also be checked instantly since the values in Col A and Col B are the same. In other words, I need to go thru all the rows, check to see if the values in Col A and B are the same, and set the checkbox value to be the same.
Any help is really much appreciated.
Thanks.
demifelix