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 

Refreshing Data Issue

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO)
View previous topic :: View next topic  
Author Message
Dan Rock
Guest





PostPosted: Tue Jul 05, 2005 11:03 am    Post subject: Refreshing Data Issue Reply with quote



Hi All,
I cannot seem to get a refreshing problem solved.
I have a form with a QuantumGrid5 control.
The user double clicks on a record and another form pops up (ShowModal)
where data is entered.
In the OnClose event of this form, I have the following code:

datPPM.datProjectLogList.DataSet.Close;
datPPM.datProjectLogList.DataSet.Open;

After editing the data on the popup form, then closing it, the QuantumGrid
control does not update until I open and close the popup for the second
time.
After investigate this further, I found that the database (Advantage 7.1) is
not refreshed until the second time I close the form.

Anyone know what I am missing here??

Thanks in Advance.


Back to top
Bill Todd
Guest





PostPosted: Tue Jul 05, 2005 1:53 pm    Post subject: Re: Refreshing Data Issue Reply with quote



What data access components are you using?
What is datPPM.datProjectLogList.DataSet?
Are you using transactions?

--
Bill Todd (TeamB)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO) 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.