I suggest you take a look at the VB sample reports that comes with Crystal Reports. There are some really good examples. This should be in the following location.
C:\Program Files\Seagate Software\Crystal Reports\Samples\Code\Visual Basic
This is a good starting point. If you have specific...
I'm having problems exporting to excel at runtime using VB and the RDC Object model. I originally tried enabling the Export button toolbar on the CRViwer control, but a blank spreadsheet resulted at runtime.
I then tried to use a command button on the viwer with the following code behind...
Can anyone help me with this one?
I have a test report built against a SQL Server database using a native connection. What I want to do at run time through VB using the RDC component, is to change the datasource to point to an ADO recordset.
I've tried numerous code examples from books and I...
For some reason I get a blank worksheet when I try and export a report using RDC and the report viewer. When I open the report using the Crystal Report Designer and export the reports it exports OK.
Any ideas. Heres the test code I'm using
Set MyApplication =...
Hey Calvin
Try the code below. It seesm to work OK
email me with any questions jonathan.phillips@bluespringsw.com
Public Sub LetsChangeTheFont()
Dim CrystalSections As Sections
Dim CrystalSection As Section
Dim CrystalReportObjects As ReportObjects
Dim CrystalFieldObject As FieldObject
Dim...
Firtsly I hate these things!
I'm using a sub-report as a summary page to a main report. When I inbed the sub-report in the main report and link 3 parameters in the main report (this has 12 parameters in total) to 3 parameters in the sub-report and run the report it works fine.
However if I...
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.