Using the Crystal Reports Print Engine as a dll call 
Author Message
 Using the Crystal Reports Print Engine as a dll call

I'm curious about a couple of things using the Crystal Reports pring engine
only as a DLL....WHERE DO I FIND A HELP FILE THAT GIVES THE DETAILS ON
IMPLEMENTING THE ENGINE?

I have searched hi and lo in VB5.0 documentation for it but have been
unable to find it.

What I have is a simple report that is based upon a specific record
selection and I'm not sure if I should pass that criteria as a parm to the
report engine (can't tell since I don't have any details on including the
report engine as of yet) or if I should some built it function that comes
with the print engine to pass the criteria....IE: a selection of records
based on a DATE.

Any suggestions or ideas would be greatly appreciated.

Douglas



Tue, 17 Oct 2000 03:00:00 GMT  
 Using the Crystal Reports Print Engine as a dll call

There is a file called developer.hlp in the crystal directory.  It has all
the PE functions and sample code. (This is in the CR Professional at least)

Bob

Quote:
>I'm curious about a couple of things using the crystal reports pring engine
>only as a DLL....WHERE DO I FIND A HELP FILE THAT GIVES THE DETAILS ON
>IMPLEMENTING THE ENGINE?



Wed, 18 Oct 2000 03:00:00 GMT  
 Using the Crystal Reports Print Engine as a dll call

Quote:

> I'm curious about a couple of things using the crystal reports pring engine
> only as a DLL....WHERE DO I FIND A HELP FILE THAT GIVES THE DETAILS ON
> IMPLEMENTING THE ENGINE?

> I have searched hi and lo in VB5.0 documentation for it but have been
> unable to find it.

> What I have is a simple report that is based upon a specific record
> selection and I'm not sure if I should pass that criteria as a parm to the
> report engine (can't tell since I don't have any details on including the
> report engine as of yet) or if I should some built it function that comes
> with the print engine to pass the criteria....IE: a selection of records
> based on a DATE.

> Any suggestions or ideas would be greatly appreciated.

> Douglas

 Hi Douglas,

The VB version of Crystal Reports doesn't include this documentation.  If  you
want to use the API calls, you need to Professional version of Crystal
Reports.  This will give the the .h file for C++ and a BAS file for Visual
Basic.

To answer your question though, yes you can pass a parameter to the Selection
Formula or even modify the Selection Formula with the Print Engine calls. You
would use the function call PESetSelectionFormula.
--
Sincerely,
Brian Dong

To reply, remove nospam from the address.



Thu, 19 Oct 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Crystal Report 7 ActiveX (craxdrt.dll) vs Crystal Report Engine (CPEAUTO.dll)

2. Calling Crystal Reports Print Engine?

3. Printing Crystal Reports without Crystal Control ActiveX or Crystal Reports API call

4. Disabled print button in preview of .rpt file called using print engine

5. Creating Dynamic Reports - Using Crystal Reports Engine

6. Query Engine Error: in ASP.NET Beta 2 when calling Crystal Report

7. Crystal Reports Print Engine

8. crystal reports print engine

9. How do you pass Database Location to Crystal Reports (W/O print engine)

10. Printing to printer within Crystal Report Engine's screen

11. When has Crystal finished printing (Api, report engine?)

12. Call SQL stored procedure in VB5.0 and print report to Crystal report

 

 
Powered by phpBB® Forum Software