Re: Refreshing a current record in a DataSet
- From: Brian Bushay TeamB <BBushay@xxxxxxxxx>
- Date: Mon, 27 Nov 2006 20:24:46 -0600
Does your Query use a Join?
Brian,
with ADODataset1 do begin
UpDateCursorPos; {MUST ALWAYS DO!}
RecordSet.Resync(adAffectCurrent, adResyncAllValues);
end;
I does not actually work the way i expect.
I open ADODataset.
then change some current field valuein database and
do
UpDateCursorPos; {MUST ALWAYS DO!}
RecordSet.Resync(adAffectCurrent, adResyncAllValues);
on client. but nothing seems to change.
Any ideas are welcome.
If that is the case you need to set the Resync Command property so that ADO
knows how to query for the updated values.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdprodynresynccommand.asp
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.
- References:
- Refreshing a current record in a DataSet
- From: Dmitry Konnov
- Re: Refreshing a current record in a DataSet
- From: Brian Bushay TeamB
- Re: Refreshing a current record in a DataSet
- From: Dmitry Konnov
- Refreshing a current record in a DataSet
- Prev by Date: Master-detail don't work??? (MasterField type Date/Time)
- Next by Date: Re: Master-detail don't work??? (MasterField type Date/Time)
- Previous by thread: Re: Refreshing a current record in a DataSet
- Next by thread: TADOQuery.Parameters on PostgreSQL
- Index(es):
Relevant Pages
|