Refreshing a TADOQuery dataset

From: Hubert Rétif (retif.hubert_at_hispeed.take.this.away.ch)
Date: 02/04/05

  • Next message: Dave Blake: "Re: Reapplying successfull batch updates"
    Date: Fri, 4 Feb 2005 19:24:41 +0100
    
    

    Hi,

    I display MSSQL2000 data with a DBGrid which DataSource is a TDataSource
    which DataSet is a TADOQuery (qy1).

    With another TADOQuery (qy2), I update the current record of qy1.

    Of course, I want to see immediately the new values in the DBGrid. Until now
    I did not have a better idea than reading again the whole dataset (qy1)
    which has some disadvantages, one of them is when there is big amount of
    data...

    Does anyone know about a smarter way to do this?

    Thanks,
    Hubert.


  • Next message: Dave Blake: "Re: Reapplying successfull batch updates"