In Access 2007, I've created a DSN-less connection to a SQL Server 2008 R2 table, to create a linked table which I've dropped into an Access form. I followed this MS link:
In VBA, I used the Form_Open event to call "AttachDSNLessTable" as outline in the KB article.
Q1: I see "Recordset is not updateable", and it won't let me edit the recordset. I'm assuming it doesn't maintain connection to the SQL table. How do I change this so I can add/edit/delete records in this linked table (and thus have them automatically propogate to the SQL table)?
Q2: From VBA, I'd like to be able to update this linked table in certain spots in a procedure. How do I do so?
I suspect these 2 questions are related. Thanks.