Jump to content

HughD

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. Thanks! Trigger which will delete the record sounds interesting. I'll check it out.
  2. We have an app that tracks the amount of work performed monthly on projects where the project managers enter the Percent Done for each active project on a monthly basis. There's an integer field (Total Percent Done) on the parent table (Projects) that receives the SUM of values of the (Percent Done) field on the associated child table (Project Work Entries) via insert and update triggers. Javascript has been implemented to alert users via a pop-up if a Work Entry would result in the Total Percent Done being >100. However, users can still actually enter values that would result in Total Percent Done being >100. We're looking for a way to enforce a business rule on the server side that would not allow Total Percent Done to be >100. Any idea on how this would be best done? Thanks in advance!
×