is there dbmsinfo to know frame/procedure name ?

is there dbmsinfo to know frame/procedure name ?

Post by Mayank Jos » Wed, 24 Mar 1999 04:00:00



In a 4GL code, how do I know name of current frame/procedure that I am in ?
eg. dbmsinfo says username and many such values, but if I want to know
formname / return type of the current frame or procedure, could any body
please tell me ?

At present , we use hard coding in a variable in all osq.s, that I want to
avoid.

Thanks.

Mayank.

 
 
 

is there dbmsinfo to know frame/procedure name ?

Post by Raju Lalvani/Tech Cell/See » Wed, 24 Mar 1999 04:00:00


Hi Mayank,
        There are a whole lot of things you can find out using inquire_forms
statement. details are given in the 4GL reference manual.
HTH
Cheers
Raju

"A raise is like a martini: it elevates the spirit, but only temporarily."
-- Dan Seligman, in "Forbes Magazine"

> -----Original Message-----

> Sent: Wednesday, March 24, 1999 8:01 AM
> To: Nick Dobrovolski

> Subject: is there dbmsinfo to know frame/procedure name ?

> In a 4GL code, how do I know name of current frame/procedure
> that I am in ?
> eg. dbmsinfo says username and many such values, but if I want to know
> formname / return type of the current frame or procedure,
> could any body
> please tell me ?

> At present , we use hard coding in a variable in all osq.s,
> that I want to
> avoid.

> Thanks.

> Mayank.


 
 
 

is there dbmsinfo to know frame/procedure name ?

Post by schen.. » Thu, 25 Mar 1999 04:00:00


-----
In a 4GL code, how do I know name of current frame/procedure that I am in ?
eg. dbmsinfo says username and many such values, but if I want to know
formname / return type of the current frame or procedure, could any body
please tell me ?
------

frame_name = ii_frame_name('current');

will give you the current frame name.  I don't think it works for
procedures, and I don't think there is anything that does.
You can also do ii_frame_name('previous') to get the caller frame.

Karl

---------------------------------------------------------------------
This message has been posted from Mail2Web (http://www.mail2web.com/)
---------------------------------------------------------------------