[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] adding directory path to the source argument
- Subject: RE: [sqr-users] adding directory path to the source argument
- From: "David Brawner" <dbrawner@att.net>
- Date: Fri, 25 Oct 2002 17:13:20 -0400
- Importance: Normal
- In-reply-to: <13E36AA4CAC1D6118A61204C4F4F502011812B@CEPXCH01>
- List-id: This list is for discussion about the SQR database reporting language from Brio Software. <sqr-users.sqrug.org>
There are pro's and con's to using the relative addressing you referred to,
('../config/cuslogo.gif').
It's obviously easier to type the shorter address but, if you move your .sqt
or .sqr to another directory at at different 'level' than the current one,
this address will not be found.
The ../ represents a shift up one level of the directory, in this case to
'//caa/rel/server'. The double '//' starts addressing from the root
directory while a single '/' will begin searching within the current
directory.
At least this has been my understanding of Unix.
Dave
-----Original Message-----
From: sqr-users-admin@sqrug.org [mailto:sqr-users-admin@sqrug.org]On
Behalf Of Sengupta, Rajib (CC-Contractor)
Sent: Friday, October 25, 2002 11:35 AM
To: sqr-users@sqrug.org
Subject: RE: [sqr-users] adding directory path to the source argument
I guess you have to mention somehting like this as the path which you are
mentioning will look for
/caa/rel/server/reports/caa/rel/server/config/cuslogo.gif :
declare-image AtlantaLogo
type = gif-file
image-size = (19,1)
source = '../config/cuslogo.gif'
end-declare
Rajib Sengupta
Systems Architect and Team Lead
ConAgra Business Systems
Peoplesoft AR and Order Management
222 South 15th St,North Tower(CT-930)
Omaha NE 68102
Phone: (402) 595-7928,Fax: (402) 595-7024
-----Original Message-----
From: [mailto:cbatiao@yahoo.com]
Sent: Thursday, October 24, 2002 11:02 PM
To: sqr-users@sqrug.org
Subject: RE: [sqr-users] adding directory path to the source argument
Would it work the same way in the DECLARE-IMAGE
declaration?
I have the cuslogo.gif that is called in logos.inc
source file. But my cuslog.gif file is in
/caa/rel/server/config directory but my sqr prgms
(including logos.inc) are in /caa/rel/server/reports
directory. We want to maintain the bitmaps/gifs in the
config directory that is why I need to incorporate a
directory path in the DECLARE-IMAGE function.
In my logos.inc, it is coded as:
declare-image AtlantaLogo
type = gif-file
image-size = (19,1)
source = cuslogo.gif
end-declare
I tried substituting:
source = '/caa/rel/server/config/cuslogo.gif'
but did not work.
I am running this in a Unix server. The documentation
says to the full path must be given, but isn't the
above a full path already? Am I defining it
incorrectly?
Thanks.
--- David Brawner <dbrawner@att.net> wrote:
> I have never had a problem using a full path
> reference to a file.
>
> I have even mixed mapped drive with directory path
> references as in this
> statement;
>
> ***
> let $call = '\\irm03\apps\maximo\sqr6\sqrwt.exe
> ''''\\irm03\apps\maximo\sqr6\reports\woprint.sqt
> max411t/maximo@mxmp
> @w:\spl\prm '''''|| $p2
> call system using $call #status wait
> ***
>
> Dave
>
> -----Original Message-----
> From: sqr-users-admin@sqrug.org
> [mailto:sqr-users-admin@sqrug.org]On
> Behalf Of CBatiao
> Sent: Thursday, October 24, 2002 6:25 PM
> To: sqr-users@sqrug.org
> Subject: [sqr-users] adding directory path to the
> source argument
>
>
> Hi,
>
> Is it possible to add a directory path in the source
> argument of DECLARE-IMAGE?
> I have to retrieve a logo from a different directory
> other than the current directory and I'm not sure if
> it can be done inthe source argument. If it is
> possible how do I code the directory path. I am
> currently running the sqr in a UNIX server and my
> sqt/inc pgms are in /caa/rel/server/sqr and my
> bitmaps
> are in /caa/rel/server/config, we want to maintain
> all
> bitmaps in different directory.
>
> Thanks,
> Carry
>
> __________________________________________________
> Do you Yahoo!?
> Y! Web Hosting - Let the expert host your web site
> http://webhosting.yahoo.com/
>
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users
>
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users
__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users