BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

RefreshRecord

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Vuksa Vladislav
Guest





PostPosted: Wed Jan 18, 2006 8:57 am    Post subject: RefreshRecord Reply with quote



Example:

Select C.CityID, C.Name, S.StateID, S.Name As NameOfState

From City As C

Left Join State As S On (S.StateID=C.StateID)

If I change S.StateID I want to refresh S.Name. I do not want to use requery
'cos it is too slow.

I have tried:

ADO components using properties Recordset.Properties['Resync Command'] and
Recordset.Resync(adAffectCurrent, adResyncAllValues)

TBetterAdo - works with some simple examples, but if I use Join with View
containing SUM it does not work

DbExpress components have implemented RefreshRecord which doesn't work with
Join

I have not succeeded to find any reasonable solution.



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.