Re: Pb while closing ADO query



Thanks Michael

We installed the ADO upgrade for Delphi 5 and the ADO update 2; that's it.
Anything else to be updated?

Regards,
Bala

"Michael Jacobs" <iq193@xxxxxxxxxxxxx> wrote in message
news:43621909$1@xxxxxxxxxxxxxxxxxxxxxxxxx
> Do you have the updates for ADO and MDAC installed on your system?
>
> HTH,
>
> Michael
>
> "Bala" <bkarat@xxxxxxxx> wrote in message
> news:4361f7f5@xxxxxxxxxxxxxxxxxxxxxxxxx
> > Hi !
> >
> > We are using Delphi 5.0 with SQL Server. Using ADO Connection Command
for
> > accessing database, TADO query and TADO Dataset component for accessing
> > Table data.
> >
> >
> >
> > We are facing the following problem, when ADO Query or ADO Dataset
record
> > is
> > blank (ie Record Count = 0) and try to Close or set Active = False, it
> > shows
> > the error:
> >
> >
> >
> > " Either BOF or EOF is True, or the current record has been deleted.
> > Requested operation requires a current record "
> >
> >
> >
> > Coding is as below:
> >
> >
> >
> > qryDisplay.Active := False; //This statement returns Error Message when
> > executed for
> >
> > //second time
> >
> > qryDisplay.SQL.Clear;
> >
> > qryDisplay.SQL.Text := 'Select * From TempCustomers';
> >
> > qryDisplay.Active := True;
> >
> > if qryDisplay.RecordCount > 0 Then
> >
> > Begin
> >
> > while qryDisplay.RecNo <= 5 do
> >
> > begin
> >
> > ShowMessage(qryDisplay.FieldValues['CustName']);
> >
> > qryDisplay.Next;
> >
> > end;
> >
> > End;
> >
> >
> >
> > Someone pl help
> >
> >
> >
> > Regards,
> >
> > Bala
> >
> >
>
>


.



Relevant Pages

  • Re: D5 with ADO
    ... With best regards, ... Bala ... > Any problem expected in using D5 with ADO to connect SQL Server 2000? ...
    (borland.public.delphi.database.ado)
  • Re: ColdFusion
    ... adocst.axes.item(it's in ColdFusion syntax). ... > the ADO for Multidimensional Objects driver instead of ADO. ... >> I've tried adding the datasource under SQL Server but am getting the ... >> Regards, ...
    (microsoft.public.sqlserver.olap)
  • Re: Pb while closing ADO query
    ... version of MDAC (Microsoft Data Access Components) is installed on your ... Regards, ... > Thanks Michael ... > We installed the ADO upgrade for Delphi 5 and the ADO update 2; ...
    (borland.public.delphi.database.ado)
  • Re: Where does "MoveNext" belong to?
    ... I do not know anything special about ADO, but try the more usual way to fetch results: ... my $tab4l; ... Best regards ...
    (perl.dbi.users)
  • Re: Filter error... but why?
    ... Regards, Mike Niemann ... >ADO does not support filters in form A AND. ... you would construct this filter as ... >> Regards, Mike Niemann ...
    (borland.public.delphi.database.ado)