MITSupport
Registered User.
- Local time
- Today, 21:31
- Joined
- Aug 8, 2016
- Messages
- 46
Hi all
I am trying to add information from a form created on table A to a table called Issues if a check box is ticked.
I have tried the following code:
Private Sub Issues_Click()
Dim strSQL As String
strSQL = "INSERT INTO Issues [(field1[, field2[, …]])] VALUES (value1[, value2[, …])"
DoCmd.RunSQL strSQL
End Sub
I dont know what I have done wrong but it is not adding the data and i am getting really frustrated :banghead:
Can some one please help me out \as I dont know what to do.
TIA
MITSupport
I am trying to add information from a form created on table A to a table called Issues if a check box is ticked.
I have tried the following code:
Private Sub Issues_Click()
Dim strSQL As String
strSQL = "INSERT INTO Issues [(field1[, field2[, …]])] VALUES (value1[, value2[, …])"
DoCmd.RunSQL strSQL
End Sub
I dont know what I have done wrong but it is not adding the data and i am getting really frustrated :banghead:
Can some one please help me out \as I dont know what to do.
TIA
MITSupport