View Single Post
  #3  
Old May 10th, 2009, 06:17 PM posted to microsoft.public.access.tablesdbdesign
Ken Snell MVP
external usenet poster
 
Posts: 275
Default Backend Database

Seek cannot be used on a linked table.

See these articles for more information:
http://support.microsoft.com/kb/208379
http://support.microsoft.com/kb/210266
http://support.microsoft.com/kb/249683

Another workaround is to use the .FindFirst method of the Recordset.

--

Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/


"Gerry" wrote in message
...
I have put my data tables into another access database which resides on a
server.
After splitting the database. When I use seek, it tells me that it is an
invalid function.
I have linked the tables in the backend database to the current database.
my code is as follows :

Dim dbs1 As dao.Database
Dim rst1 As Recordset

Set dbs1 = CurrentDb
Set rst1 = dbs1.OpenRecordset("Customer Forecast")

rst1.Index = "Key"
rst1.Seek "=", estkey

before splitting the database, it worked fine. Why would this stop
working.
The table in the backend database is indexed on "Key"

Thank you,
Gerry