Error messages on new patients

From CCMDB Wiki
Jump to navigation Jump to search


CCMDB.accdb generates error msgs even for brand new patients who, of course, don't have any info yet.

Work-around

ignore if you want or if irrelevant, unless you just complete checked something and it did not let you, in which case read it after all and address the error

background

Access uses what it calls “events” to populate the error box. Opening a form is an event, leaving a box is an event, etc. Opening a form for a new patient is no diff than opening it for an existing patient, so if an event should trigger for a form, it will trigger each time. We can come up with what-ifs, for sure, might be messy.

It would be rather an impact on time, I am afraid, since ADL is not the only one and these are spread around the code and I need to be sure that they still trigger when relevant. Also, there are other legacy skeletons in that closet.

Summary:

  • work around is simple (“ignore if you want or if irrelevant, unless you just complete checked something and it did not let you”)
  • fix would be time consuming
  • code is part of an old section of the program and we have had many issues with the event related stuff before (double errors etc)

I would recommend leaving this alone until we need to stir up that nest for other reasons. If you disagree please stick it into a spot of your choice on the priority list.