Re: Update table from ODBC
- From: "Van T. Dinh" <VanThien.Dinh@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 20 Dec 2005 22:05:54 +1100
The 2 methods should result to the same set of Records appended unless the
criteria are interpreted differently. If you use Pass-Through, the ODBC
server interprets your criteria. If you use linked Table, JET uses
SQLGetInfo and SQLGetTypeInfo to ask the ODBC driver whether the server
supports operators + functions used in your criteria and try to pass as much
as possible to the server. However, there are numerous cases where JET will
actually performs the calculations rather than passing to the server.
If you want, post the SQL Strings of your Pass-Through Query, your Append
Query using the Pass-through and your Append Query using ODBC-linked Table
and others may know why the same criteria in 2 Queries behave differently.
--
HTH
Van T. Dinh
MVP (Access)
"Peter" <Peter@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F65C00CF-180C-45D9-B93F-CED53E9EC1AB@xxxxxxxxxxxxxxxx
>I tried using the pass-through query as the source for a separate append
> query and it worked a treat.
>
> Just for the excercise I also tried ODBC linking the source table in the
> external DB and tried to run the append query from it - but the query
> return
> odd results, it seemed to ignore the criteria that had been set. I
> wondered
> if it was a linking problem, but I am only querying a single table???
>
> Don't know - but the first method worked perfectly
>
> Thanks.
>
>
.
- References:
- Re: Update table from ODBC
- From: Van T. Dinh
- Re: Update table from ODBC
- Prev by Date: Re: Easy ?
- Next by Date: Re: Function Parameters
- Previous by thread: Re: Update table from ODBC
- Next by thread: Re: How to convert Hex to Decimal in Access queries ?
- Index(es):
Relevant Pages
|