I received this error: Operation is not supported for this type of object. (Error 3251)
Here's what I'm trying to do:
I have a linked table in one of our dBs. I have a report that prints info about our customers and uses the linked table to pull info out of. But, when I push the command button to print the report I get that error and when I hit debug it takes me to where I have set the recordset. Here's what I have:
Set rstEmpinfo = dbs.OpenRecordset("EmployeeInfo"
rstEmpinfo.Index = "EmployeeID" <-----HERE'S WHERE THE ERROR OCCURS
Thank you Terry for your information on OpenRecordset and the linked table.
I now understand that the OpenRecordset does not work on a linked table. But, how can I get around this...how can I use the linked table b/c I need it's info????
Thanks!!!
Here's what I'm trying to do:
I have a linked table in one of our dBs. I have a report that prints info about our customers and uses the linked table to pull info out of. But, when I push the command button to print the report I get that error and when I hit debug it takes me to where I have set the recordset. Here's what I have:
Set rstEmpinfo = dbs.OpenRecordset("EmployeeInfo"
rstEmpinfo.Index = "EmployeeID" <-----HERE'S WHERE THE ERROR OCCURS
Thank you Terry for your information on OpenRecordset and the linked table.
I now understand that the OpenRecordset does not work on a linked table. But, how can I get around this...how can I use the linked table b/c I need it's info????
Thanks!!!