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



Rich P 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 Developersdex http://www.developersdex.com ***

I have no significant ODBC problems with any version of Access connecting to
any version of SQL Server.

Would you really create a front end that did all of its database operations
from code?

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


.



Relevant Pages

  • Re: Very bad response time from stored procedure call via ADO
    ... Turn on the Show Query Plan and show statistics option in SQL Server ... VB6 application for display via ADO. ... The stored procedure structure is as follows: ...
    (microsoft.public.data.ado)
  • Re: How to Mimic Access Externally Linked Tables using ADO?
    ... > using SQL Server for efficiency reasons. ... > connection up programmatically using ADO or ADOX or some SQL Server API? ... >> newsgroup, but if you have a good reason to send me e-mail, you'll find ... ADO does not have a query engine. ...
    (microsoft.public.data.ado)
  • adCurrency problem in ASP
    ... I'm using ADO from an ASP 3.0 page written in JScript to query a database ... The type of the ADO field in my recordset is adCurrency as I expect. ... Microsoft SQL Server ODBC Driver Version 03.85.1025 ...
    (microsoft.public.data.ado)
  • adCurrency problem in ASP
    ... I'm using ADO from an ASP 3.0 page written in JScript to query a database ... The type of the ADO field in my recordset is adCurrency as I expect. ... Microsoft SQL Server ODBC Driver Version 03.85.1025 ...
    (microsoft.public.scripting.jscript)
  • adCurrency problem in ASP
    ... I'm using ADO from an ASP 3.0 page written in JScript to query a database ... The type of the ADO field in my recordset is adCurrency as I expect. ... Microsoft SQL Server ODBC Driver Version 03.85.1025 ...
    (microsoft.public.inetserver.asp.general)