Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. MikePro

    Automation Error in Crystal 7/VB6

    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???
  2. MikePro

    Automation error

    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??
  3. MikePro

    How do you Make Crystal use Printer object settings

    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...
  4. MikePro

    Crystl32.ocx registration problem

    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.
  5. MikePro

    Setting Alias in CR 7

    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...
  6. MikePro

    how to populate my reports with data from an access database

    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.
  7. MikePro

    How do I change the DB location at runtime?

    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
  8. MikePro

    Setting margins in CR 7.0 via VB6 code

    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...
  9. MikePro

    Can't cancel the print jobb of a Report in VB

    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...
  10. MikePro

    formfeed unnecessary when printing on continuous forms

    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.

Part and Inventory Search

Back
Top