Link to home
Start Free TrialLog in
Avatar of netbeto
netbeto

asked on

See Trigers updates in the ClientDataSet

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.
Avatar of YodaMage
YodaMage

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?
Avatar of netbeto

ASKER

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...
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.
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.
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
ASKER CERTIFIED SOLUTION
Avatar of YensidMod
YensidMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial