I would like to insert the value in the control cboProviderOrgID into tblPymt in the field lngProviderOrgID. I amhave having a great deal of difficulty deciphering the syntax that comes after “values” in the statement below. Would someone be willing to break it down for me?
CurrentDb.Execute “Insert into tblPymt (lngWkOrderID,dtmBillStartDate,dtmBillEndDate, ” _
& ” strUtilityID) values (” & lngWkOrderID.value & “,#” & Format(dtmBillStartDate, “mm/dd/yyyy”) _
& “# , #” & Format(dtmCurrentDate – 1, “mm/dd/yyyy”) & “#, ‘” & strUtilityID & “‘);”
E