Re: Loads of errors when querying MS SQL Server Express 2005 from Access 2007



I don't use ODBC connections by personal preference. But there is NO
problem with ODBC connections "in general". The cleverness of the ODBC
connection technology is quite amazing. The notion of using a temp
table in an MDB to interact with an SQL-Server table and populating
and maintaining that table through code is bizarre and naive.
The OP could, I suppose, correct his query; an alternative would be
just to use an ADP. There is little wrong with ADPs that is not also
wrong with ODBC connected MDBs.

On May 30, 3:38 pm, Rich P <rpng...@xxxxxxx> wrote:
The problem is with the ODBC connection - in general.  If you are going
to be using Access as a front end for a Sql Server backend - you will
have more consistent/better results using ADO instead of ODBC.  ADO
requires using VBA.  If you want to use the Access Query Tool you will
have to create a temp table in the Access mdb into which you would write
an ADO datapull from the server, and then you can query that.  The
alternative is to write the queries directly in the ADO command object
and execute it.  You will write the results of the ADO query into a temp
table in the Access mdb the same as above.  

Rich

*** Sent via Developersdexhttp://www.developersdex.com***

.



Relevant Pages

  • Re: Append Filtered records to table
    ... So I am creating a form that compares the Oracle ... Do you suggest having an query query built using the queries tab on ... so that it won't prompt the user and make the connections behind the scene ... but you can also use separate ODBC connections to link to all the ...
    (microsoft.public.access.modulesdaovba)
  • Re: Loads of errors when querying MS SQL Server Express 2005 from Access 2007
    ... going to be using Access as a front end for a Sql Server backend - ... ADO requires using VBA. ... If you want to use the Access Query ... the ADO query into a temp table in the Access mdb the same as above. ...
    (comp.databases.ms-access)
  • Re: Fixing table links with ADO
    ... table links are ODBC connections anyway. ... Terry Kreft ... Anyone know of a sample of such a routine that uses ADO? ...
    (comp.databases.ms-access)
  • Re: How to create DSN with code, hey MikeD
    ... > Could I see some suggestions/samples or anything to walk on... ... Do you use a lot of ODBC connections or do you use OLE DB (ADO)? ...
    (microsoft.public.vb.general.discussion)