Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
After having no luck with vb6 data reports, I have moved to Crystal reports. I have used CR a little and understand the basic design. I have a few questions,excuse my ignorance,
1) If a vb project is designed using crystal reports, can a computer using the vb project that does not have Crystal reports installed still view and print the reports??
2) I like using DAO connections for Crystal reports, How can I make a Crystal report only show records that correspond to user input. ie on activate user will be prompted for input (Input box) user enters the name sam Crystal reports then shows only records that have sam entered as the name.

Crystal Reports does not have to installed on pc for user to view and print Cr reports. You must place a CR object on at least one form, which will provide the link to CR reports. The process is very simple in VB6...assume the Cr object is named RPT1...you will need to supply basic information for certain properties, such as Report Title, Report Name, show in window or printer, etc.
As to your second question...yes, you can. One of the CR properties is SelectionFormula, where you would enter the report filter.
Nothing like seeing it for yourself. If you want, I can post back later some examples of using CR. I use CR exclusively in my projects...too flexible and too fast compared to data reports. Just my opinion.
Let me know if you want more detailed info.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |