Solved

See Trigers updates in the ClientDataSet

Posted on 2002-06-27
6
195 Views
Last Modified: 2010-04-04
Hy everybody,
i m needing this help as soon as possible, do someone know why when a have a trigger that make some updates after update one table(the tables are diferents!) i cant see the changes in the ClientDataSet??, even if a refresh, close and open etc... I m using a Intebase Query in the server, TSockt conection , and TClientDataSet on the client.
I just can see that changes after close and open the client application!!!

thanks all,

NetBeto.
0
Comment
Question by:netbeto
6 Comments
 
LVL 4

Expert Comment

by:YodaMage
ID: 7116942
Are you refreshing whatever component you are using to display values?

TGrid.refresh;

Did you try dropping a showmessage after you reopen cds with content output to see if you have your at that time?
0
 

Author Comment

by:netbeto
ID: 7117057
Thanks YodaMage,
I ll try do to that? but i  think i m doing something wrong, cause this is not a rigth way, i saw that you have had larg experience with Interbase, have you had some like trouble?? I m using in the server Interbase components and in the Client TClientDataSet, also in the server i have just 1 IBTransaction to every TIBQuery and 1 IBDataBase...
0
 
LVL 4

Expert Comment

by:YodaMage
ID: 7117111
I use the InfoPower data components for the most part.

TwwQuery -> TDataSetProvider -> TwwClientDataSet -> TwwDataSource

If you restart the application and do not fire and .applyupdates(); or such on your way out, but find what you need displayed on restart, then it is safe to assume it posted correctly at the time. I have on occasion had issues with data aware components displaying correctl and have had to force redraw/refresh/repaint.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Expert Comment

by:CleanupPing
ID: 9343146
netbeto:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 5

Expert Comment

by:Lukasz Lach
ID: 9454024
netbeto,
No comment has been added lately (17 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: Accept YodaMage's answer http:#7116942 and Refund

Please leave any comments here within 7 days.

-- Please DO NOT accept this comment as an answer ! --

Thanks,

anAKiN
EE Cleanup Volunteer
0
 

Accepted Solution

by:
YensidMod earned 0 total points
ID: 9525117
This question is PAQed and no points refunded (of 100)

YensidMod
Expert Exchange Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now