keymac
asked on
VS2010 and Crystal Reports Loading Image at runtime
Previously when using VB6 and Crystal Reports I was able to specify the contents of an image at runtime. This allowed the invoicing app to use the customers letterhead loaded from a jpg on their pc. I need to be able to achieve the same thing in VB.NET and Crystal Reports (VS2010) but it seems that I have to specify the image at design time rather than runtime.
My advice to you not to use Crystal report any more. this product is taken over by SAP. you can use Microsoft Reporting.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The image has the option to set the path at run time.
Create a string parameter for the report
You can pass the full path and image to the report using it.
Insert the picture object
Select a default image
Right click it
Click FORMAT GRAPHIC
Click the PICTURE tab
Click the FORMULA BUTTON
Formula will be
{?ImageParameter}
mlmcc
Create a string parameter for the report
You can pass the full path and image to the report using it.
Insert the picture object
Select a default image
Right click it
Click FORMAT GRAPHIC
Click the PICTURE tab
Click the FORMULA BUTTON
Formula will be
{?ImageParameter}
mlmcc
ASKER
Unfortunately I don't have a FORMULA BUTTON on the PICTURE Tab
Click the FORMULA BUTTON
Formula will be
{?ImageParameter}
Click the FORMULA BUTTON
Formula will be
{?ImageParameter}
What version of Crystal?
mlmcc
mlmcc
ASKER
What version of Crystal?
I'm using VS2010
I'm using VS2010
DId you download the CR for Visual Studio?
mlmcc
mlmcc
ASKER
The second part of the project shows exactly how to use the blob column type to be used in the report and fits perfectly. Thanks