|
Question : Why can't I delete records from a linked table ? I get the message "Linked table is not supported by this ISAM."
|
|
If I want to transfer a query named qryFA to an Excel spreadsheet named C:\FA.xls with a tabbed control named NON-CTS, should the following steps work ?
Create "c:\FA.xls" manualy.Open it rename sheet to NON-CTS. Go to your Access application.File ->get External data->Link tables _> change file tape to xls and link your spreadsheet. You can Use Excel Link table.
Private Sub List150_DblClick(Cancel As Integer) docmd.runsql "delete * from [NON-CTS]" docmd.runsql "INSERT INTO [NON-CTS] SELECT qryFA.* FROM qryFA;" End Sub ------------------ I get the following series of messages as follows:
You won't be able to undo the changes this action query is about to make to the data in a linked table or tables. Do you want to run this action query anyway ? -------------- I hit the Yes button -------------- You are about to delete 26 rows from the specified table. Once you click yes, you can't use the undo command to reverse the changes. Are you sure you want to delete the selected records ?
I hit the Yes button ---------- Runtime error 3617 Deleting data in a linked table is not supported by this ISAM
|
|
Answer : Why can't I delete records from a linked table ? I get the message "Linked table is not supported by this ISAM."
|
|
That is because deleting records (in a Linked Excel spreadsheet) is not supported from within Access.
A spreadsheet is not an Access table.
you might be able to achieve this by using automation with VBA to run an Excel Macro to delete the rows, but just a Delete query will not work.
|
|
|