dbTalk Databases Forums  

D3 Triggers and process information

comp.databases.pick comp.databases.pick


Discuss D3 Triggers and process information in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dtsig
 
Posts: n/a

Default D3 Triggers and process information - 01-10-2007 , 08:46 AM






1) Is there a way for a trigger to know that it is operating against a
table or dictionary?

I have never needed this before and don't know if it is possible. Cant
find anything in the ACCESS() info but thought i would ask.

2) Is there a way to know the process that is causing the change? Is
there a 'call stack' which can be interrogated?

If it makes a difference this is specifically for CALLX but generically
for any of the triggers.

the learning never stops

thanks

dtsig


Reply With Quote
  #2  
Old   
Ross Ferris
 
Posts: n/a

Default Re: D3 Triggers and process information - 01-10-2007 , 05:00 PM






Access(11) will NEARLY give you want you want .... you may need to have
slightly different versions of trigger for dict/data levels to
differentiate
dtsig wrote:
Quote:
1) Is there a way for a trigger to know that it is operating against a
table or dictionary?

I have never needed this before and don't know if it is possible. Cant
find anything in the ACCESS() info but thought i would ask.

2) Is there a way to know the process that is causing the change? Is
there a 'call stack' which can be interrogated?

If it makes a difference this is specifically for CALLX but generically
for any of the triggers.

the learning never stops

thanks

dtsig


Reply With Quote
  #3  
Old   
dtsig
 
Posts: n/a

Default Re: D3 Triggers and process information - 01-10-2007 , 05:08 PM




Ross Ferris wrote:
Quote:
Access(11) will NEARLY give you want you want .... you may need to have
slightly different versions of trigger for dict/data levels to
differentiate
dtsig wrote:
1) Is there a way for a trigger to know that it is operating against a
table or dictionary?

I have never needed this before and don't know if it is possible. Cant
find anything in the ACCESS() info but thought i would ask.

2) Is there a way to know the process that is causing the change? Is
there a 'call stack' which can be interrogated?

If it makes a difference this is specifically for CALLX but generically
for any of the triggers.

Thanks ross i will re try

dtsig



Reply With Quote
  #4  
Old   
Bill H
 
Posts: n/a

Default Re: D3 Triggers and process information - 01-12-2007 , 12:38 AM



Dave:

Yes and Yes. :-)

Bill

"dtsig" <dtsig (AT) hotmail (DOT) com> wrote

Quote:
1) Is there a way for a trigger to know that it is operating against a
table or dictionary?

I have never needed this before and don't know if it is possible. Cant
find anything in the ACCESS() info but thought i would ask.

2) Is there a way to know the process that is causing the change? Is
there a 'call stack' which can be interrogated?

If it makes a difference this is specifically for CALLX but generically
for any of the triggers.

the learning never stops

thanks

dtsig




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.