Using Access 2007, I want to call a stored procedure with one input parameter that returns a recordset.
Using ADODB, this is pretty straightforward except for the connection string. I want to be able to derive the server and database names from a particular table, which always points to the correct server and database. (I reconnect to development dbs from time to time for testing by relinking the 100 or so linked tables.)
Is there a way to get the server and database name from the tabledef without parsing the whole thing out? Is there a property? I haven't found one yet....
Final query is pretty simple: EXEC sp_DeleteProjects N'12,24,54'
deletes projects 12, 24, and 54, and returns a recordset (single row) with the deleted record counts of the various child table entries.