When using Crystal 7.0 and trying to print a report on a custom sized form, I will sometimes get an automation error. I am using the crystal activex control in VB6. The problem is not consistent, but I can get it to happen whenever I print on an odd sized form. Any ideas???
When trying to show or print a report from a VB6 on a custom sized form, I get an automation error and it will only show 1 detail per page. Any info on what the automation error is or what it is caused by??
I am using VB6 w/crystal7. In VB, I make changes to the printer objext in terms of form size and layout depending on the type of printer. Crystal always prints the report using the printers default settings. Do I have to change the default settings of the printer each time I want to print...
I had the same problem recently. I tried everything from renaming the original ocx file and copying a new one on to try to register. The only way I was able to correct the problem was to uninstall crystal and reinstall. Wherever crystal manages the ocx file, it has been corrupted.
I was just wondering if there is a way to set an alias to an access table through the Crystal Reports ActiveX control in VB code. I have to keep some data specific to certain computers, so the table name changes depending on the machine being used. All of the tables have the exact same layout...
From within Crystal, you first need to Add Database to Report. Once this is done, you can choose the Insert/Database field to add fields to the report.
If you are using the activex control then you can set the
crystalreport1.datafiles(x)= DB path
x is a base 0 value and use as many datafile statements as there are database tables
I have set up a report without using the printers default margins. However, when the report does not line up for a specific printer then I want to change the margins. When I issue the marginleft property, it shows in the activex control to be reset, but it actually only clears the set margins...
Crystal has no way of knowing if the user presses the cancel button to stop the print job. There are a couple of ways around this...If you are using the common dialog control for print selection, you can set the cancelerror property to true and trap for the error.
If CrystalReport1.Destination...
I am trying to print some continuous forms(bill statement type) but am being plagued by a formfeed after report & page footers. I am setting up the form size to a 4X6 billing card and it prints a bill fine, skips a bill, prints a bill fine,skips a bill...etc.
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.