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

Crystal Reports ActiveX control usage in VFP

Status
Not open for further replies.

Dan777

Programmer
Jul 22, 2000
34
US
How does one specify a conditional formatting formula for a report object in the crystal activex control?

In my VFP 8 app a report is created at runtime using the Crystal Report activex control (vers 8.5). I need to know how to apply for conditional formatting formaul for an objects at runtime. For example, in the details section of a report I want the detail line to appear in a red font if the total sale is over a $1000 and in black if under. So, does anyone know how to conditionally format objects in a crystal report using the crystal activex control?

And due to the business requirements I do have to do this in the CR activex control in VFP, instead of the CR IDE. The frustrating thing is that I know this is possible, in fact there's a sample of how to do it in the crystal documentation, but low and behold, the sample is in VB code. And because of the way crystal integrates with VB, which is far different than in VFP, the samplpe doesn't do much good except show that it is possible.

Thanks much for any and all assistance with this issue.
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top