Originally Posted by
June7
1. right now all records are checked Available - if you want only records associated with the current ID to be checked when checkbox is True then try this code in the checkbox AfterUpdate event:
CurrentDb.Execute "UPDATE [Data2] SET Availability = " & IIf(Me.Check24 = True, "File_ID=" & Me.File_ID, True)
Me.Refresh
2. the combobox is bound to field so this will save selected value to that field and then you want to set value of location field for that ID - could run an UPDATE action in the combobox AfterUpdate event:
CurrentDb.Execute "UPDATE [Data 1] SET Location = '" & Me.Location & "' WHERE ID = " & Me.Combo21