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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how attach crystal report within visual basic form

Status
Not open for further replies.

snadeem66

Programmer
Apr 8, 2002
7
PK
hi all
First time in this forum. My question is...how we attached already created crystal report within visual basic form. Any body tell me little briefly.....

Can we attach crystal reports within Visual Foxpro also?
 
There are three ways to do this that I know of. Only one puts the crystal report directly onto the VB form.

1) Use the crystal reports designer that integrates with the VB IDE. This type of report can be displayed in the Crystal Report Smart Viewer control placed directly on a VB form. However, if you have already created a .rpt file in the Crystal Report Designer, you will have to import it into the designer that integrates with the VB IDE.

2) Use the crystal report control. This control will use .rpt files. However, the control creates a preview window separate from the VB form.

3) Use the crystal report object library. Same deal as the crystal report control. The difference is that you can create objects to use in a class module that are free from the form module.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top