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

RDC Object Model

Status
Not open for further replies.

westmain

Programmer
Feb 27, 2002
1
US
Does anyone know where or how I can get a complete list of the Crystal RDC Object Model? I'm trying to create an ASP page that will allow users to sort or filter an existing report while it's displayed in the browser. Similar to using a data grid and clicking on the column headings to sort...except using an HREF to change sort fields/filters. I have some code snippets from the Crystal Knowlege base and the RDC help files... but that only gives me bits and pieces of what I need to know (i.e. the collections/objects I need to access). For example, they show how to list all the fields in the tables in a report, but not how to list only the ones used in the report. Any help/advice (besides drinking heavily) would be appreciated!
 
There is a file on the Crystal Decisions website called RDC8_Browser.exe. This installs a program which gives some help and information on all the parts of the RDC in version 8 of Crystal Reports. Unfortunately, there is no version of this for CR8.5, and therefore much is missing.
Also, the installation program does not decompress the help files, so you get a File/Path not found error until you run the RDCSource.exe program in the install directory.
It is, however, a quick way to get information on properties, methods and events. Sadly, there is no search facility.
 
Hi

I have to send same report to 2 diffenrent printers and
user selected paper tray, I am using crystareports 8.371 activex run time libray.I created a report based on query
which has 2 parameters . Iam using syntax like this

Dim rep As New CRAXDRT.Report
Dim crpParamDefs As CRAXDRT.ParameterFieldDefinitions
Dim crpParamDef As CRAXDRT.ParameterFieldDefinition

Set rep = obj.OpenReport(app_path & "reports7\InvoiceVACATION.rpt")
rep.ParameterFields(1).AddCurrentValue -1
rep.ParameterFields(2).AddCurrentValue 21893302
rep.RecordSelectionFormula = ""
rep.PaperSource = crPRBinMiddle
rep.PaperOrientation = crPortrait
rep.PrintOut (False)

I am getting error 'server has not yet opened.
But if i used the report without parameters and using selection formala passing data it is working fine.

Can you give solution for it.

Thanks
Rao



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top