For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Crystal Reports > April 2006 > VB.NET program w/params starts blank report









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author VB.NET program w/params starts blank report
jtkaylor

2006-02-10, 3:03 pm

I have written a v8.5 Crystal Report for use with the Informix 3.82 database that I am using, and have placed the single parameter that the report requires as a text item in the header of the report.

I can run the CR from Windows Explorer, and after entering the parameter's value on the "Enter Parameter Values" page, the CR will come up with all of the correct data. Yea.

I need to programmatically run this report and pass the parameter in through a VB.NET program. So I wrote a VB.NET program that passes the value to the CR and loads it into a Crystal Report Viewer.

The report is displayed in the CR Viewer window, and the parameter that I have passed is displayed in the header of the report, so I know that my parameter has been passed successfully, but aside from the field descriptions, the report is blank, i.e. the titles are there but there is no data displayed.

It is almost like there is something missing from my environment when the report is run via VB. Could it be something to do with Informix? Does anyone have an idea of what might be causing this issue?
jtkaylor

2006-04-26, 3:45 pm

The piece I was missing was Crystal Reports Developer Edition, I just had the full version of CR11.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com