Re: Please help!!!! Grid Index Out of Range......what am i doing wrong?

Mário Reis <[email protected]> Mon, 1 Aug 2022 18:21:56 -0700 (PDT)
Newsgroups alt.comp.lang.borland-delphi
Message-ID <[email protected]>
A quinta-feira, 24 de abril de 1997 à(s) 07:00:00 UTC, Scott Martin escreveu:
> You may also add DisableControls/EnableControls to your code
> before you perform any data commands:
> with table1 do begin
> DisableControls;
> First;
> while not eof do begin
> ...
> next;.
> end;
> EnableControls;
> end;
> This sould solve your problem
> Scott.
> Eugene A. Kovalov wrote:
> > "Tico" <[email protected]> 15 Apr wrote:
> > >I have a form with a TDBGrid associate to a DataSet with 3 records
> > and I
> > >getting the following excepcion when i try to select a record from
> > the
> > >grid.
> > >'Grid Index out of Range'
> > >What am i doing wrong?
> --
> Scott Martin
> Kvaerner FSSL, Inc.
> [email protected]

Well i'v the very same problem today the proposed solution of DisableControls/EnableControls does not work at all.
The error persists with or without DisableControls/EnableControls . Sorry to contradict !!!