J
Jennifer
I have my queries,tables, modules, and macros all set up. Below is the
function my module serves. I changed the name of a table, and it will not
work now- I get a message box stating- "Could not find output table 'Final'."
Which this is the table name that I changed- I changed it to FinalCR, now
the module don't work correctly. When I go into "Debug" the problem, it
highlights the last line of the module below. Can anyone help? What do I need
to do to tweek the module to the table name change?
Public Function DoSQL()
Dim SQL As String
SQL = "UPDATE Code " & _
"SET code.number1 = '1'"
DoCmd.RunSQL SQL
DoCmd.OpenQuery "make final CR tbl", acViewNormal, acEdit
**Also if I change the table name back to just 'Final', it works fine.
Please help
Thanks,
Jennifer
function my module serves. I changed the name of a table, and it will not
work now- I get a message box stating- "Could not find output table 'Final'."
Which this is the table name that I changed- I changed it to FinalCR, now
the module don't work correctly. When I go into "Debug" the problem, it
highlights the last line of the module below. Can anyone help? What do I need
to do to tweek the module to the table name change?
Public Function DoSQL()
Dim SQL As String
SQL = "UPDATE Code " & _
"SET code.number1 = '1'"
DoCmd.RunSQL SQL
DoCmd.OpenQuery "make final CR tbl", acViewNormal, acEdit
**Also if I change the table name back to just 'Final', it works fine.
Please help
Thanks,
Jennifer