Full path name in report

Does any know how to show the full path name of the current document in
the document itself?

Larry Rosenblum
Saama Technologies, Inc.


Listserv Archives (BOB member since 2002-06-25)

In a message dated 99-02-20 04:44:41 EST, you write:

Does any know how to show the full path name of the current document in
the document itself?

Larry:

I don’t think BusObj provides a built in way to do this, as do other programs
such as Word or Excel. I have experimented with obtaining - at a minimum - the
default user document directory from the registry. You are supposed to be able
to obtain registry settings with the GetProfileString() or GetProfileNumber()
functions, but I have never been able to get either of them to work. And the
help file is not so helpful; there are no examples of these functions.

I have tried:

=GetProfileString(“HKEY_LOCAL_MACHINE\SOFTWARE\BusinessObjects\BusObj
Configuration\General\Directories\Document”)

and assorted other entries, but nothing seems to work. And even if it did
work, it would not solve your particular question.

If anyone can shed some light on how to use the GetProfileString() function I
would be grateful! Note that you can obtain these values in the script
language using the following:

AppDir = Application.GetInstallDirectory(BusObjDirectory)
AppDocDir = Application.GetInstallDirectory(DocumentDirectory)
AppScrDir = Application.GetInstallDirectory(ScriptsDirectory)

and so on. There is a list of directory entries available in the scripting
help file.

Regards,
Dave Rathbun
Integra Solutions
www.islink.com


Listserv Archives (BOB member since 2002-06-25)