R
Ralph
Why am I getting an error message? Here is the code, I have Access 2003.
I am trying to select the appropriate table to update using a command button
on a form. The form has the reference objects "grpSampleMonth and "txtCalYr".
Private Sub btnTransFlag_Click()
Dim SQL As String
Dim FNSmo As String
FNSmo = MonthName(Forms.frmLoadToFNS.grpSampleMonth, True) & txtCalYr
SQL = "UPDATE tbl1FNS&FNSmo & SET TransFlag = ""0"" WHERE TransFlag Is
Null "
DoCmd.RunSQL SQL
End Sub
I am trying to select the appropriate table to update using a command button
on a form. The form has the reference objects "grpSampleMonth and "txtCalYr".
Private Sub btnTransFlag_Click()
Dim SQL As String
Dim FNSmo As String
FNSmo = MonthName(Forms.frmLoadToFNS.grpSampleMonth, True) & txtCalYr
SQL = "UPDATE tbl1FNS&FNSmo & SET TransFlag = ""0"" WHERE TransFlag Is
Null "
DoCmd.RunSQL SQL
End Sub