I cobbled together this code from postings on the web. It blows with an "Object reference not set to an instance of an object" for crReportObject.Kind. What am I doing wrong?
Public Function RunCrystalReport2(ByVal strReportName As String _
, ByVal colparam As...
I have two databases (each with a table that I need to join together.) One is a SQLServer db and the other is an Oracle db. In the first case, the employee number is an integer and in the second the employee number is a string. When I link the two tables together based upon the emp# field, I...
Everything was working fine. Then we upgraded to 2003 .NET. Now when the line [crReportDocument.Load(strReportPath)] executes, the program pops up a Novell Client Login screen, and wants me to give the password for User ASPNET so that the user can be logged in. I am logged in under my...
I'm trying to open a new browser window, allow the user to select a date, pass the date back to a textbox on the parent window, and close the child. Everything seems to work fine except the textbox does not get filled with the date. What am I missing? Is there a better way that this method...
Here's what finally worked for me:
totext(({?BegDte}),"MM/dd/yyyy") & " - " & totext(({?EndDte}), "MM/dd/yyyy")
Although I am passing strings from the text boxes to the date params, the date params in Crystal are typed as dates. Crystal must be performing the...
Using your suggestion, I was able to create a work around by placing each date on the report separately with a label displaying the hyphen between the two dates. I made the first date right aligned, I made the hyphen center aligned, and I made the second date left aligned. I then right clicked...
I am writing an ASP.NET application that passes two dates to a Crystal Report. The dates are passed to create start and end dates for selection of records, and to also display this date range at the top of each page in MM/DD/CCYY order.
I developed this app on my laptop, and everything was...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.