Re: Refreshing a current record in a DataSet
- From: Brian Bushay TeamB <BBushay@xxxxxxxxx>
- Date: Sat, 25 Nov 2006 21:24:55 -0600
Is there possibility to refresh from database in TADOQuery a current record
in dataset, without Open/Close and reloading entire dataset?
Only refreshing single record.
Yes
with ADODataset1 do begin
UpDateCursorPos; {MUST ALWAYS DO!}
RecordSet.Resync(adAffectCurrent, adResyncAllValues);
end;
You will need the Unit AdoInt in your uses to use this code.
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.
- Follow-Ups:
- Re: Refreshing a current record in a DataSet
- From: Dmitry Konnov
- Re: Refreshing a current record in a DataSet
- References:
- Refreshing a current record in a DataSet
- From: Dmitry Konnov
- Refreshing a current record in a DataSet
- Prev by Date: Re: Cancelling an ADO Command takes too long
- Next by Date: Re: Refreshing a current record in a DataSet
- Previous by thread: Re: Refreshing a current record in a DataSet
- Next by thread: Re: Refreshing a current record in a DataSet
- Index(es):
Relevant Pages
|