mardi 20 février 2018

When checkbox is checked in Microsoft Access 2016, insert checkbox value into a field after hitting the add entry button

This is what I have so far, and it is only adding a 1 or 0 in the Group_List field. Braillist is the checkbox value.

Private Sub Command86_Click()

If Braillist = True Then Dim str_sql As String

str_sql = "INSERT INTO NCECBVI(Group_List)value(" & Braillist & ")"


End If

End Sub




Aucun commentaire:

Enregistrer un commentaire