I have four fields that are checkboxes. I want to create a variable called ‘percentage complete’, and populate it based on the checkboxes. For every checkbox that is checked (yes, -1) I want ‘percentage complete’ to go up by 25%. I’d like for this to happen in a query, so that I can pull the data into both a report and a pie chart. The pie chart would be the number of items that are 25, 50, 75, & 100% complete. The report would list each item and the checkbox data, grouped by the percentage complete.
I know how I’d do this in a webpage with ASP/VB – create a variable (dim: ‘PercentageComplete’) , then add to it with each checkbox (If CheckBox1 = ‘yes’, then ‘Percetange Complete’ = ‘PercentageComplete’ + 25.) But how would it work in Access?
I know how I’d do this in a webpage with ASP/VB – create a variable (dim: ‘PercentageComplete’) , then add to it with each checkbox (If CheckBox1 = ‘yes’, then ‘Percetange Complete’ = ‘PercentageComplete’ + 25.) But how would it work in Access?