Re: Trouble with DAO "SEEK" in converting application to SQL Express back end.



"Rico" wrote

When I remove the dbOpenTable, it works but
I can't use the SEEK method on the index.

You have never been able to use dbOpenTable or Seek on anything but native
Jet tables in the same MDB/MDE. As far as I know, that is well-documented.

My personal view is that use of SEEK most often implies a poor design --
there may be a few cases in which it is needful to open a dataset with a
large number of records, and then find the one you want (SEEK if you can
open as a Table, or FIND / FINDFIRST if opened as a Dynaset).

It is more efficient, especially if you are using an Access client with a
Server DB (as you are now), to include criteria in your Query or SQL
statement so that the extraction of the one record you want is performed at
the server (or no record if it does not exist). It is really amazing to
realize just how often we need only one record (if it exists) or none (if it
does not exist).

Larry Linson
Microsoft Access MVP


.



Relevant Pages

  • Re: 80004005 Unspecified Error
    ... every update that comes down the pike restricts access and hardens security. ... Just because your Jet database has none of Jet's security ... it has associated launch and activation permissions. ... It worked just fine (I had to restart my win2000 server) TILL I ...
    (microsoft.public.inetserver.asp.db)
  • Re: Use DAO or ADO?
    ... SQL Server is more popular than Jet. ... real world of development, Dot Net", ADO has been superceded by ADO.NET ...
    (comp.databases.ms-access)
  • Re: [Access2003, VBA] Use DAO or ADO?
    ... One of the reasons my clients preferred Access / Jet / ODBC was that they ... Autonumber or its server equivalent and could have been shown to the users ... real world of development, Dot Net", ADO has been superceded by ADO.NET ...
    (comp.databases.ms-access)
  • Re: Access oder SQL-Server
    ... läuft die Jet Engine auch mit mehr als 20 Nutzern völlig rund und prima. ... Ein SQL Server ist technisch auf jeden Fall die bessere Variante. ... nicht nur 'nen Grundkurs belegt hast, hat mySQL fast 99% der MSSQL ...
    (microsoft.public.de.vb.datenbank)
  • Re: Why do IT guys hate MS Access?
    ... Not really a server application like Oracle or SQL. ... > Also notice that a lot of time IT folks are responsible for IT ... that storing your back end data in Jet is not nearly as ... data request cannot be made efficient. ...
    (comp.databases.ms-access)