I have a few simple calculations on my form that work like this:
[ Total Vacation Days ] - [Vacation Days Used ] = [ Vacation Days Remaining ]
Total Vacation Days is a bound field for that particular employee. The others are just forumulas based on queries. I have a set of calculations like this for various types of days (sick days, vacation days, personal days, etc.). If I have at least one record entry for a particular day off type, the calculations work fine. If I don't, the Days Used and Days Remaining show up as #Error. How can I avoid this? I realize WHY it's doing it mathematically, but I'd rather have it show nothing at all or have Days Used default to 0. I don't want to have to go in and put a dummy record for each type of day just to get it to work!
[ Total Vacation Days ] - [Vacation Days Used ] = [ Vacation Days Remaining ]
Total Vacation Days is a bound field for that particular employee. The others are just forumulas based on queries. I have a set of calculations like this for various types of days (sick days, vacation days, personal days, etc.). If I have at least one record entry for a particular day off type, the calculations work fine. If I don't, the Days Used and Days Remaining show up as #Error. How can I avoid this? I realize WHY it's doing it mathematically, but I'd rather have it show nothing at all or have Days Used default to 0. I don't want to have to go in and put a dummy record for each type of day just to get it to work!