Re: Rpg Trigger
Re: Rpg Trigger -- ramdvs@hotmail.c Post Reply Top of the thread Forum

Posted by: Anon Marvin Cox, ramdvs@hotmail.c
Fri, Dec 22, 2000, 12:09:39


The easy way is to include a field in the file for "last updated by program". Each program updating the file should manually fill in the field. The Trigger program can interrogate the field in the "after" view.

The hard way is to determine the calling program from the call stack. I believe there is an API to do this, but I'm not sure what it is.


:I have a file D with a update trigger. The trigger program is E. There are three programs F,G,H which may update the file D. How do I know which program trying to update file D when the trigger is triggerd, in program E.


Post Reply | Email Friend | Alert Original Post Top of the thread Current page