C
Cheswyck
Access 2000.I am using the following SQL and getting the following error
message:
Compile error, Syntax error:
Private Sub cmdAdd_Click()
On Error GoTo Err_cmdAdd_Click
INSERT INTO tblStaff (staOrg, staMember, staActive) & _
VALUES (frmStaff.cmbOrg, frmStaff.cmbMem, "Y") ;
End Sub
frmStaff is a form that uses 2 combos to select the Organizations & Staff.
Do I need to 'DIM' the database and use a 'DO' command?
message:
Compile error, Syntax error:
Private Sub cmdAdd_Click()
On Error GoTo Err_cmdAdd_Click
INSERT INTO tblStaff (staOrg, staMember, staActive) & _
VALUES (frmStaff.cmbOrg, frmStaff.cmbMem, "Y") ;
End Sub
frmStaff is a form that uses 2 combos to select the Organizations & Staff.
Do I need to 'DIM' the database and use a 'DO' command?