Our recipes are entered in terms of what percent each ingredient contributes to the finished product. This percentage is part of the data entry of individual ingredients which takes place on the subform.
The total percent is being calculated on the footer, and is visible on the main form, so the user can readily see when the ingredients equal 100%. However, they can choose to ignore anything not equal to 100% and go right on to start building the next recipe.
I'd like to beep, flash a message, and prevent them from saving the current recipe and/or moving to the next record when the total is not equal to 100%.
Unfortunately, I know zero vba code, and this is my first db attempt so I'm not very experienced in Access either. Thank you in advance for any help and advice!
The total percent is being calculated on the footer, and is visible on the main form, so the user can readily see when the ingredients equal 100%. However, they can choose to ignore anything not equal to 100% and go right on to start building the next recipe.
I'd like to beep, flash a message, and prevent them from saving the current recipe and/or moving to the next record when the total is not equal to 100%.
Unfortunately, I know zero vba code, and this is my first db attempt so I'm not very experienced in Access either. Thank you in advance for any help and advice!