CCMDB.accdb Change Log 2023: Difference between revisions

mNo edit summary
Line 15: Line 15:
** updated how new records are added behind the scenes
** updated how new records are added behind the scenes
** Changed Sub Patient_Adder(ID) to also add Location, and early, since it is needed to do hiding.
** Changed Sub Patient_Adder(ID) to also add Location, and early, since it is needed to do hiding.
** Added Legacy_Hider to Sub service_location_AfterUpdate() to be able to change view mode after a change to Service_Location.-->
** Added Legacy_Hider to Sub service_location_AfterUpdate() to be able to change view mode after a change to Service_Location.
** updated sub Legacy_Hider (which hides or shows CCMDB parts based on program) to get the record's program using new function admission_program, which gets its program from a given record's [[Service/Location]] rather than from [[Settings (CCMBD.mdb)|Settings]]
** updated sub Legacy_Hider (which hides or shows CCMDB parts based on program) to get the record's program using new function admission_program, which gets its program from a given record's [[Service/Location]] rather than from [[Settings (CCMBD.mdb)|Settings]]
* updated [[Query s_serviceLocation_local]] to no longer use [[S locations allowed collection table]] and consider only site and [[S dispo table]].s_location instead
* updated [[Query s_serviceLocation_local]] to no longer use [[S locations allowed collection table]] and consider only site and [[S dispo table]].s_location instead