G
Guest
My form has a bunch of different characteristics that the user is required to
enter a weight for. Not weight as in pounds but as in importance so one is
weighted at 25% and the other at 8% to make one so much more important than
the other
Each of the text boxes where the user enters percentages are named
txtweight1 .... txtweight8 and formated as percentages.
I am trying to in the box below have the message ALLOCATION OKAY appear if
all the percentages add to 100% and CHECK ALLOCATIONS appear if they don't
add to 100% I also want them to not be able to submit the form unless the
allocation is okay.
I can do this in Excel:
=IF(SUM(D4
11)=100%,"ALLOCATION OK","CHK ALLOCATION")
but they want the model in Access not Excel and I can't seem to figure out
where to start writing the VBA code for this. Thanks!
enter a weight for. Not weight as in pounds but as in importance so one is
weighted at 25% and the other at 8% to make one so much more important than
the other
Each of the text boxes where the user enters percentages are named
txtweight1 .... txtweight8 and formated as percentages.
I am trying to in the box below have the message ALLOCATION OKAY appear if
all the percentages add to 100% and CHECK ALLOCATIONS appear if they don't
add to 100% I also want them to not be able to submit the form unless the
allocation is okay.
I can do this in Excel:
=IF(SUM(D4

but they want the model in Access not Excel and I can't seem to figure out
where to start writing the VBA code for this. Thanks!