K
Kirk P.
I must have a syntax issue here. When I "hard code" the values I want into
txtADM_ID and cboSite_ID I get the expected results, but when I refer to the
values in the controls themselves, I get a "type mismatch" error. Can anyone
spot the problem here?
Me.txtStart_Date = DMax("End_Date", "tblADM_Site_Assign", "ADM_ID = '" &
Me.txtADM_ID & "'" And Site_ID = "'" & Me.cboSite_ID & "'") + 1
txtADM_ID and cboSite_ID I get the expected results, but when I refer to the
values in the controls themselves, I get a "type mismatch" error. Can anyone
spot the problem here?
Me.txtStart_Date = DMax("End_Date", "tblADM_Site_Assign", "ADM_ID = '" &
Me.txtADM_ID & "'" And Site_ID = "'" & Me.cboSite_ID & "'") + 1