Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image file Path problem.....

Status
Not open for further replies.

saketbansal

IS-IT--Management
Jul 2, 2003
41
Hello

I want to display an Image in report .I have used Link file tool.
But in sourec file i Don't want to Hard code the Directory path of the image file.I want the directory path as entered by user in parameter.

There is variable setting REPORTS60_PATH in which the directoy path can be set.But i think it's value can not be set in some tigger of report with value entered by user in parameter.

If anybody knows please reply.

Thanks...
 
Hi,

In the property palette of Link File, set the Source FileName to the image file name with out any path information. When ever you are running reports place the rep file and image file in the same folder. It will solve your problem.


Regards
Krishna Reddy M
mckreddy@visualsoft-tech.com
 
Thanks for ur quick reply

But when i set the image file name without any path then it shows error cannot find the file source
This error comes when i come out after setting the Source file property of Link file object

And i have put the RDF and BMP file in same folder.
But i can not make REP file as it shows error while setting The SOURCE FILE property without directory path.

Rgds






 
Is your REPORTS60_PATH is set to the folder where you placed the rdf file and bmp file while compiling the report?
Do not use the browse button in Source File property link. type the file name with extension only.

Regards
Krishna Reddy M
mckreddy@visualsoft-tech.com
 
Thanks

My main purpose was not to set the REPORTS60_PATH manually and this i will have to do before setting the file name with extension only.

--Can this variable value be set in Report through some Method?

So main purpose is i Don't want to set it manually

I am calling the report from FORM and i set the Global path for particular Report folder in which Rep file exists

In Same way i want to set the image path same as a parameter sent by user.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top