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

Need help Launching the crystal report from PBuilder 6.5

Status
Not open for further replies.

kspiderman

IS-IT--Management
Dec 16, 2004
9
0
0
US
I'm using power builder 6.5 enterprise and crystal report 9 developer
edition.
recently purchased CR 10 professional.

how do you bring in the crystal report parameter in to PB so that
PBuilder will send the paramenter.
for sack of speaking. if I want to send the Begin Date name Bdate (1st
paramenter), End Date name Edate (2nd paramenter) and Salerep (3rd
paramenter).

If I want to launch crystal report file with in the Pbuilder, should I have to install some kind of driver or something.
In Vbasic parameter shows up on the property on the right side after you install 3rd party software.
I’m some ok with Pbuilder but don’t have no idea about this.

if somebody could help me that would be most appreciate.


Thank you.
 
1. insert OLE object
2. click the "insert control" tab
3. locate and click the crystal report control in the list
4. put the control on a window by clicking the window
5. in the click event of a button (or any other event you wish to script), paste this code: ole_1.object.printreport()

that should do the trick.

cheers!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top