Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-10-10
4
Medium Priority
?
465 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 101

Assisted Solution

by:mlmcc
mlmcc earned 2000 total points
ID: 22689595
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
ID: 22690378
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
ID: 22879544
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 101

Expert Comment

by:mlmcc
ID: 22888656
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 …
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

916 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