For Each item In lst.ItemsSelected
CurrentDb.Execute "UPDATE tbl_Staffing SET Term_Heat_Ticket_Num = '" & _
Me.TxtTerm_Heat_Ticket_Num & "', Inactive_Status_Dt = #" & lst.Column(7, item) & _
"#, Termination_Reason_FK = " & lst.Column(9, item) & " WHERE ID = " & lst.Column(8, item), dbFailOnError
I have this query that writes to a list on my form. I am trying to use this code to take the Term_Heat_Ticket number, the Inactive_Status_dt and the Termination_Reason_FK to write to my other table where the ID for the other table equals to the column 8 in my query. All is returning values except the Termination_Reason_FK which if you see my query above there is a value. I am not sure what I am doing wrong in my code syntax that would cause the Termination_Reason_FK to return a null value. Any help would be appreciated.