its an add record for case
the case has to have one sample and a set of resualts for it to be completed
A case is started by selecting a client betwen this time and the time the
user select a procedure i need to keep the user form closeing the form (or
delete the case that has no samples) once a porcedure is selected then there
is at least one sample is setup
deleteing current record on close does not work
Private Sub Form_Close()
if FQLStatus=2 then
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
end if
DoCmd.OpenForm "desktop", acNormal
End Sub
disabling closebutton will not let me set it at run time
Private Sub Form_BeforeInsert(Cancel As Integer)
FQLStatus = 2
CloseButton = False
PageEdit.Visible = False
End Sub