Open Crystal Report with a parameter - crystal-reports

Normally, I use Microsoft report and I can call parameter.
But for Crystal Report 2008 I want to call the report with a parameter to see the data from my bd on the report.
My report is bound to a data set.

Hope the following links will help you
How to pass parameter in crystal report using dataset in vb.net
Crystal Report Basics and Integration with DataSet
Display GridView in Crystal Report

Related

Crystal Report dynamic parameter values do not show up in prompt when report is opened within SAP B1

Crystal Report dynamic parameter values do not show up in prompt when report is opened within SAP B1. However, it is working fine when the report is opened in Crystal Report Designer. Please help thanks!
You need to run the report and initiate the parameter from inside Crystal Reports when on B1.
The list you see from outside only shows if you're using a parameter query like #SELECT, etc ...

Cannot find parameter field Pm-Command.Name in subreport 12. SAP B1

I created report which has sub report in Crystal Reports 2011 in two different databases, I set Link between main report and its subreport, My report works fine in crystal report design but if I import it in SAP B1 9.2 PL10 I get error message while previewing
Cannot find parameter field Pm-Command.Name in subreport 12.
I tried to do research but there is no answer I got. The parameter which has error is the parameter links subreport and main report.
I tried to change subreport links but error is still same
Below is formula of subreport parameter which causes that error.
{Command.Name} = {?Pm-Command.Name}
Please anyone can help me to solve this issue

crystal reports XI usage statistics of each report

is their anyway to know in crystal reports XI usage statistics of each report
I got instance Manager which is showing some data but not useful can't filter/sort by date, report name. Its allows only user name.
Is their any way i can query crystal Report XI to know usage statistics

Crystal reports 2011 list tables in footer

I'm using Crystal reports 2011 standalone. Is it possible to list the tables used within a report in the footer?
Thanks
No. You could use the Crystal Reports SDK to extract the report's metadata and store it in a table, however. See: Reverse Engineering Crystal Reports Definition Files

Create Report using Crystal Report XI from DataSet

*STEP 1.*My program get Crystal Report (XI sp6) templates from admin. It parses the templates to get SQLs from that and then populate it to get DataTables for each SQL.
*STEP 2.*After that, it push the DataTables back into the ReportDocument to create the report by using the following code:
// there no subreport in our template
//mainDS include all populated DataTable having the same name of related CR Command Alias
foreach (Table tab in doc.Database.Tables)
tab.SetDataSource(mainDS.Tables[tab.Name]);
The problem is (I wonder if it is a Crystal Report Bug): if there is 2 Command in the template, when the code tab.SetDataSource(mainDS.Tables[tab.Name]); is executed for doc.Database.Tables[0] then doc.Database.Tables[1].Fields is become the same to doc.Database.Tables[0].Fields and ofcause I get an error.
I do not get this error with all templates, just some :(. All templates worked well in Crystal Report GUI!!!
Please help if it not bug or please show me how to work around!
I am using Crystal Report XI Developer Edition with latest pack, VS2005. Oracle 10g, Devart DotConnect for Oracle Free version.
After mining SAP document and test many times, I think that it is a bug of CR XI R2 sp6. So I on report I only keep 1 Command, If there is a need for other commands, I will create subreports and put the commands in these.