Crystal report export Excel, fit to 1 page
Apparently this was one of the request from a client recently. Sadly, the report was a direct export from crystal report function and attempting to search for a way to force the report to be exported with the scaling of 1 page width and height failed. The current version that we are using is 10.5, which is also the version which comes with VS2008.
And another enhancement came in place was the crystal report to print a dynamic picture where the source location should be configurable (in app.config). There is an obvious limitation reported for version 10.5 and the feature was made available in the recent version of Crystal, we were to come up with a workaround to make it work. After much trial and errors, manage to do it by saving the image into a table of a database, and linking the table to the existing ones in crystal. This way the crystal would grab the image from the database instead of the physical location in the local directory. Not the best solution but could get the thing delivered.
Written by admin on March 27th, 2010 with
no comments.
Read more articles on Knowledge Base and Programming.
- [+] Digg: Feature this article
- [+] Del.icio.us: Bookmark this article
- [+] Furl: Bookmark this article