 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Moore Guest
|
Posted: Thu Feb 08, 2007 10:09 pm Post subject: value in trigger needs refresh to appear |
|
|
i have a column in a master table which is the sum of another column in
a detail table, the calculation is done in the after
insert,update,delete trigger on the detail table,
the problem is that with IBX i need to refresh the master dataset to
show the new value when some detail row has changed value for that
column, is there a way to make the new value appear automatically? |
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Thu Feb 08, 2007 11:53 pm Post subject: Re: value in trigger needs refresh to appear |
|
|
Moore wrote:
| Quote: | i have a column in a master table which is the sum of another column
in a detail table, the calculation is done in the after
insert,update,delete trigger on the detail table, the problem is that
with IBX i need to refresh the master dataset to show the new value
when some detail row has changed value for that column, is there a
way to make the new value appear automatically?
|
Refresh the master in the detail dataset's AfterPost event handler.
If you want to get fancy you could have the trigger fire an event and
have your app listen for the event and refresh the master.
--
Bill Todd (TeamB) |
|
| Back to top |
|
 |
Moore Guest
|
Posted: Fri Feb 09, 2007 3:53 am Post subject: Re: value in trigger needs refresh to appear |
|
|
Bill Todd escribió:
| Quote: | If you want to get fancy you could have the trigger fire an event and
have your app listen for the event and refresh the master.
|
How to do this??? |
|
| Back to top |
|
 |
Bill Todd Guest
|
|
| Back to top |
|
 |
|
|
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
|
|