Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba
Your expression is wrong because of the brackets - ,0 needs to be outside the brackets. But it is true that if it weren't for the division by 100, the numbers coming from text fields would concatenate instead of add. So either fix the fields or use Val() function.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Great, June7. Thank you for your advice. I will take notes.
Sorry to bother you guys, but I would like to start fresh to clear up my mind. If I stayed in the same spot, I might be drowned myself in confusion and a foggy brain.
Take a step back, take a deep breath and think of what you want to do.
Build it up in small steps, then put code around it if need be.
In the BeforeUpdate event of the form, I would just sum those controls with NZ() as June7 advised, and if not 100 then set it's Cancel property.
Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba