Lot of update Insert and Select queries. the form itself have lot of IIF conditions on each field. i.e =IIf([Forms]![frmDiaryMultiView]![chTreatment],[Item1],[Client1])
the double click event has missing reference Id to a form
DoCmd.OpenForm "frmNewAppointment", , , "OrderID = " &...