Refreshing a TADOQuery dataset
From: Hubert Rétif (retif.hubert_at_hispeed.take.this.away.ch)
Date: 02/04/05
- Previous message: Chris H: "TADOConnection memory leak"
- Next in thread: Brian Bushay TeamB: "Re: Refreshing a TADOQuery dataset"
- Reply: Brian Bushay TeamB: "Re: Refreshing a TADOQuery dataset"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: Chris H: "TADOConnection memory leak"
- Next in thread: Brian Bushay TeamB: "Re: Refreshing a TADOQuery dataset"
- Reply: Brian Bushay TeamB: "Re: Refreshing a TADOQuery dataset"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]