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

VFP9 and Crystal Reports XI

Status
Not open for further replies.

erp84

IS-IT--Management
Mar 11, 2013
35
US
Does anyone have a sample form/program they're using to launch a crystal reports preview?

I've been trying non stop for several hours to get Craig Berntson's code to work but I must be missing something.
 
It would help if you could tell us what you have tried already (not everyone is familiar with " Craig Berntson's code"), and also what doesn't work.

As a general rule, you need to set the control's ReportSource property to an object reference to the report. Then call the ViewReport method. Have you done that?

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips, training, consultancy
 
Once I call the form or prg it seems to run fine, except the result is never displayed, even when just sending to a printer.

I do not have R2, just XI.
 
Ok, that's good to know. I thought 11.5 and 11 were functioning the same. I do have CR 2011 also, any suggestions how to proceed?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top