Article ID 1854
Article Title PROBLEM: Exporting Crystal 9 Reports from VDF Applications
Article URL http://www.dataaccess.com/KBasePublic/KBPrint.asp?ArticleID=1854
KBase Category Crystal Reports
Date Created 07/16/2003
Last Edit Date 03/22/2004


Article Text
PROBLEM:
From my Visual DataFlex application, if I do Print Preview and then click on the Export button, I do not get export options, it just goes back to menu. If I run the same report directly from Crystal 9, the export features work fine. Any suggestions?

SOLUTION:
Some things you should be aware of and check for:

- Make sure that you do not have different versions of the Crystal Reports or Crystal Connectivity Kit files in different directories. Example: APIDLL.DLL, CRPE32.DLL and the DF_COLLATE.CFG sometimes are placed in the Windows\System32 directory and those may be found before the ones with the right version. Note that you may also experience other problems, like error 4405 (see links below), for having file version mismatch.

- Add Crystal 9 directory (default: C:\Program Files\Common Files\Crystal Decisions\2.0\bin) to the PATH environment variable. That way Crystal directory will be searched when files are needed.  To update the System Path environment variable: Go to the Control Panel | System | Advance Tabpage | Environment Variable Button | System Variables and update the PATH line.

- Visual DataFlex has Crystal Reports files installed to its Bin directory. Those should not be used for deployment -- they are installed with the development license so the sample applications that demonstrate the use of Crystal Reports in VDF can be run -- and they may be from a version of Crystal Reports other than the one your reports were built for

- Consult the Connectivity Kit User's Guide (Start | Programs | DataFlex Connectivity kit for Crystal Reports 9 | User's Guide) and the Crystal help file Runtime.chm available with the Developer Edition of Crystal Reports (default location: C:\Program Files\Crystal Decisions\Crystal Reports 9\Developer Files\Help) for information about deploying your reports




Contributed By:
Marcia Booth
Company: Data Access Worldwide
Web Site: http://www.dataaccess.com

Links Related to this Article
DAW Knowledge Base article 1764: ERROR: "Unable to Load Report" when accessing a report from VDF
DAW Knowledge Base article 1839: ERROR: Error number out of range
DAW Knowledge Base article 1968: HOWTO: Avoid Problems with Crystal Reports 9 running from VDF

Email this Article
Email this Article to a Colleague
Send Feedback on this Article to Data Access Worldwide
Copyright ©2024 Data Access Corporation. All rights reserved.

The information provided in the Data Access Technical Knowledge Base is provided "as is" without warranty of any kind. Data Access Corporation disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Data Access Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Data Access Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.