Diference between ADO and BDE

From: Eduardo Martinez (eduardom_at_nospamieqsa.com.mx)
Date: 09/29/04


Date: Wed, 29 Sep 2004 10:40:35 -0500

Delphi 7+Informix OLEDB Driver (SDK 7.31 TC2) + ADOConnection + ADOQuery
 vs
Delphi 7 + BDE + Informix ODBC driver + TDatabase + TQuery

The same query (see below) with BDE returns 14024617 BUT with ADO the result
is 140. Just that. if I multiply by 2 (Sum(b.latas) * 2) then I get same
result in both.

Should I try to get the newest OLEDB for Informix or this is a know issue
with ADO or Delphi?

select sum(b.latas) from depaletizado a,consumo_lata b , disenos c
where a.consecutivo=b.consecutivo and a.diseno=c.diseno
and b.fechaieqsa between '07/01/2004' and '07/31/2004'
and c.producto='CLIG' and c.diseno BETWEEN '401' AND '429'

Thanks in advance

Eduardo Martinez



Relevant Pages

  • RE: ODBC query in VB code Need HELP
    ... Everything for ADO is in the first 2 messages that I gave you. ... Since your pass-through query already exists (including the ... Dim STRSQL As String ...
    (microsoft.public.access.formscoding)
  • Re: Connecting to Query
    ... practice examples of the ADO Command, Parameters, etc. you explained below. ... Second, with the selected territory ... >> combo box to select a product from a query based primarily on a link ...
    (microsoft.public.access.formscoding)
  • Re: On ADSI and LDAP
    ... the problem is how can I retrieve the value for myuser using the ... would be more efficient to use ADO to query AD for the attributes values. ... For more on using ADO, ... Dim adoCommand, adoConnection, strBase, strFilter, strAttributes ...
    (microsoft.public.scripting.vbscript)
  • Re: cant get query to run over ADO, but works fine in Access inte
    ... Thanks for the suggestions, Richard. ... the query so that unchanging parts of it are stored as a query with the part ... As I've had trouble with synchronizing ADO ... > Execute method of the ADO Connection object, but the issue is the same - you ...
    (microsoft.public.data.ado)
  • Re: Stored Procedure is running slow!
    ... > I run stored procedure from QA, it takes some 15 seconds to execute. ... > seconds when called from MS Fox Pro, via ADO. ... Try this in Query Analyzer: ... By default Query Analyzer runs with ARITHABORT ON, ...
    (microsoft.public.sqlserver.programming)