![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi All, I'm assuming I've missed something very simple...but, how do I trap who raised a database event? I'm looking at inquire_sql() and I see stuff for the dbeventtext, the dbeventowner etc.. but nothing for who raised the bloody thing. Martin Bowes |
#3
| |||
| |||
|
|
On Aug 6, 2:26*pm, Martin Bowes <martin.bo... (AT) ctsu (DOT) ox.ac.uk> wrote: Hi All, I'm assuming I've missed something very simple...but, how do I trap whoraised a database event? I'm looking at inquire_sql() and I see stuff for the dbeventtext, the dbeventowner etc.. but nothing for who raised the bloody thing. Martin Bowes OK... So in source/src/front/embed/hdr/iilibq.h typedef struct IIEV_{ * * struct IIEV_ * * * **iie_next; * * * * * * */* Next event on list */ * * char * * * * * * * *iie_name[DB_MAXNAME+1]; /* Event name */ * * char * * * * * * * *iie_owner[DB_MAXNAME+1];/* Event owner */ * * char * * * * * * * *iie_db[DB_MAXNAME+2]; * /* Database(+2 for alignment) */ * * DB_DATE * * * * * * iie_time; * * * * * ** /* Timestamp */ * * char * * * * * * * **iie_text; * * * * * * */* Optional text */ } II_EVENT; Anyone think it might be nice to extend this to put in a char iie_raisedby[DB_MAXNAME+1]; /* Who raised the bloody thing */ Also adding dbeventraisedby as a flag to inquire_sql ? Once I get off my lazy fat arse and complete my new date format code...this has got a fair chance of being my next project. Martin Bowes |
![]() |
| Thread Tools | |
| Display Modes | |
| |