Re: Refresh adoQuery



Hi,

try to do following

ADOQuery.DisableControls;

//do whatever you need

ADOQuery.EnableControls;

That helped me a lot, making disappear some spooky behavior
--
Best regards :)

Guillem Vicens
Dep. informática Green Service SA
www.clubgreenoasis.com

"delphi news group" <yuda.levi@xxxxxxxx> escribió en el mensaje
news:426cf7f0@xxxxxxxxxxxxxxxxxxxxxxxxx
> hello,
> I connect dbgrid to ado query.
> after I make changes to the table the query based on I close and open the
> query and refresh the dbgrid that conect to the ado query but the data on
> the dbgrid dont update
> I tried allso to syncronize after I made changes with no success.
>
> any idea ?
>
> thanks
>
> yuda
>
>


.



Relevant Pages

  • Re: refresh ado query
    ... Try to Refresh the dataset after post ... > I connect dbgrid to ado query. ... Prev by Date: ...
    (borland.public.delphi.database.ado)
  • refresh ado query
    ... I connect dbgrid to ado query. ... after I make changes I close and open the query and refresh the dbgrid that ... conect to the ado query but the data on the dbgrid dont update ...
    (borland.public.delphi.database.ado)
  • Refresh adoQuery
    ... I connect dbgrid to ado query. ... query and refresh the dbgrid that conect to the ado query but the data on ... Prev by Date: ...
    (borland.public.delphi.database.ado)
  • Re: refresh ado query
    ... Guillem Vicens ... > I connect dbgrid to ado query. ... > after I make changes I close and open the query and refresh the dbgrid ...
    (borland.public.delphi.database.ado)