Solved

Trying to dynamically change .xls folder and file name on OLE object in report

Posted on 2008-10-10
4
456 Views
Last Modified: 2012-05-05
I have a table in SQL Server
graphic_dir (table name)
foldername
filename
ordernumber
 
I want the user to enter an order number as a parameter and the report reads this table and pulls in the excell spreadsheet that is the foldername + filename.

I have the report reading the table correctly because I am currently displaying the foldername and filename and they are correct. I have an OLE object inserted that points to an existing .xls file and then I went into Format graphic onto the picture tab and then put a formula in the graphic location button. I tried putting in the foldername + filename and also tried putting in just the foldername. Neither one seemed to work.

I read that there was a bug in release 2 that you could not read in a word document location dynamically from a database. Does that include .xls? Does anybody know if it was fixed in the latest service pack or even where I could go to see if it was reported / fixed?
0
Comment
Question by:bmorriso99
  • 2
  • 2
4 Comments
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 500 total points
Comment Utility
It probably applies to all OLE documents.

I don't know if there is a later service pack.

Which reliease do you have?
Check the version in HELP --> ABOUT CRYSTAL
Release 1 - 11.x.xx
Release 2 - 11.5.xx

Last I knew SP2 was the last for R2
SP4 was the last for R1

mlmcc
0
 

Author Comment

by:bmorriso99
Comment Utility
It says 11.0.0.182 but I just bought this so I was expecting to be on release 2..... I guess I need to investigate this a little further.
0
 

Accepted Solution

by:
bmorriso99 earned 0 total points
Comment Utility
After much investigating I think the bottom line is that the picture location button will allow users to change the files if they are .jpeg, .bmp or one other type but not .doc's or .xls's. I downloaded 2008 and couldn't get it to work there either. We decided to convert our xls files into .bmps.

0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Suggest you accept your comment as the solution.  My comment is not really a solution and you don't need to award the points

mlmcc
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now