I select Manage Profiles - then only Check In New Member has a combobox with 'Vehicles' as a choice.
Don't need DoCmd.Save (that only saves form, not record). Record is committed to table when form closes, move to another record or run code (DoCmd.RunCommand acCmdSaveRecord).
Private Sub btnSave_Click()
DoCmd.Close
End Sub
Suggest you don't separate members into two tables for active/inactive. Have one table with a field for this attribute.
Revised code for the image upload.
Code:
If .Show = True Then
For Each varFile In .SelectedItems
Dim rst As DAO.Recordset
Const strTable = "tblImages"
Const strField = "File"
Set rst = CurrentDb.OpenRecordset(strTable)
rst.AddNew
AddAttachment rst, strField, varFile
rst.Update
rst.MoveLast
rst.Close
Next
Else
msgbox "You clicked Cancel in the file dialog box."
End If
However, since the Upload image form is always on the first record, the code will only address that record. This causes issues if there is already an attachment in the field.