RE: linking to SQL databases

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



As far as I know you can not configure ADO connections outside of code in
Access 2003 or earlier. ADO recordsets are incompatible with the Access
controls and can therefore not be used to populate them. You could however
open a DAO connection to the MS-SQL database which should result in DAO
recordsets which can be used to link to controls.

Your queries do not have to change because of the change from DAO to ADO.
They might need to change because the Jet database engine uses a different
dialect of SQL than MS-SQL's. I do not know the details of these differences
though.



"maxzsim" wrote:

> Hi,
>
> Is ODBC linked-table the only way to have a pre-defined link to SQL
> databases ?
>
> can it somehow be linked as ADO (or it must be done thru programming) ?
>
> i have already an access program that is running but i am thinking of
> speeding it up as it's getting slower.
>
> if i set up a link to the SQL database via ADO programming , how do i
> actually get the existing queries to work or it has to be changed as well
>
> kindly advise
.



Relevant Pages

  • Re: Is ADO Dead (3)?
    ... The Design of ADO ... ADO uses a single object, the Recordset, as a common representation for ... a forward-only stream of results from a database, ... where data is updated at the data source or cached locally as with the ...
    (comp.databases.ms-access)
  • Re: Is ADO Dead (3)?
    ... The Design of ADO ... ADO uses a single object, the Recordset, as a common representation for ... a forward-only stream of results from a database, ... where data is updated at the data source or cached locally as with the ...
    (comp.databases.ms-access)
  • Re: Is ADO Dead (3)?
    ... The Design of ADO ... ADO uses a single object, the Recordset, as a common representation for ... a forward-only stream of results from a database, ... where data is updated at the data source or cached locally as with the ...
    (comp.databases.ms-access)
  • Re: Is ADO Dead (3)?
    ... The Design of ADO ... ADO uses a single object, the Recordset, as a common representation for ... a forward-only stream of results from a database, ... where data is updated at the data source or cached locally as with the ...
    (comp.databases.ms-access)
  • Re: Documentation for C++ classes supporting the ActiveX ADO contr
    ... The ADO interface seems to need adjusting. ... that portion of the database activity requires two values from other tables ... controls, ADO Grid control, and ADO Data List control provide a convenient ...
    (microsoft.public.vc.atl)