
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.