MSAccessRookie
AWF VIP
- Local time
- Today, 14:50
- Joined
- May 2, 2008
- Messages
- 3,428
OK You might be on to something.
This error message tho, is for the searchable form, not the input form.
BUT, this hidden field that sums the total and checks would be great, but I don't know how I would add the date aspect into the calculation. Right now on the Search Form, it only returns dates that are 365 days previous to today's date. Then it sums the total.
I'm wondering if I should just allow Data Entry to the continious form so that a user can see the total at all times and I could set up the Error Message there if they exceed 20 K.
That was the VB Code that I encountered when I activated the VB Editor while looking at the "Before Update" Button of the Add Entry section.
I would imagine that the Hidden Field would rely on similar rules to those used in the Search Form. In fact I cannot completely understand why those rules are not available/required at all levels.
Sum(CommAmt) { Where [PO Date] is in the correct Date Range }