main logo
Subject: RE: Fully qualified object name function?
Author: "Lew Schwartz"
Posted: 2005/01/31 16:34:21
 
View Entire Thread
New Search


Yep, that's it; just like that.

-----Original Message-----
From: profoxtech-bounces .at. leafe .DO.T com [mailto:profoxtech-bounces@leafe.com] On
Behalf Of Ed Leafe
Sent: Monday, January 31, 2005 2:56 PM
To: profoxtech .at. leafe .DO.T com
Subject: Re: Fully qualified object name function?

On Jan 31, 2005, at 2:43 PM, Lew Schwartz wrote:

> Is there a built-in that does this? Something like ...
> * Fullname
> LPARAMETERS oObject
> LOCAL cName
> cName = oObject.Name
> DO while TYPE("oObject.Parent") = "O"
> oObject = oObject.Parent
> cName = oObject.Name + "." + cName
> enddo
> RETURN UPPER(cName)

You mean like SYS(1272, oObject)?

___/
/
__/
/
____/
Ed Leafe
http://leafe.com/
http://dabodev.com/



[excessive quoting removed by server]


 
©2005 Lew Schwartz
<-- Prior Message New Search Next Message -->