Hi. ACCESS ADP with SQL Server 2008. Have code that determines what a new overall score should be. The result shows in a message box with a Yes/No to update. When I select yes, getting a message about column name being wrong. it thinks rs!IDNumber is the column name when in fact it is the ID field for the record I want to update. Any help would be appreciated. Thanks.
- tmpSQL = "Update PracticeTable " _
-
"Set PracticeTable.SortOverall=" & new_sort _
-
& " where PracticeTable.[IDNumber]=" & rs!IDNumber