|
|
|
|
|
|
Hi,
I am generating report dynamically using formula fields.I am sending all values from code behind to crystal report using formula fields and parameter fields.but it is printing only one record. my code in crystal report formula field is:
Local StringVar s;
Local NumberVar i;
For i := 1 To Ubound({?p_total}) Do
(
s:=uppercase({?p_empname})
);
totext(s)
here {?p_total} is one parameter field having no.of employees ex:1,2,..5
and {?p_empname} is one parameter field having emp names like A,B,...E
If i choose any dummy table having 5 rows then all records are printing(table from database field-->sql server -->dummy tablename).Is there any way without selecting database in crystal report. Because in localhost it will work, but if i upload to Online i can't select database(database creation is also dynamic for each and individual company)
Any idea plz................
Thanks.
|
|
|
|
Hi Dipali,
My Question is can we create the group dynamically in the Crystal Report?
Schenario :
I have created one report Where data using 3 different Groups I have added.
Group #A County
Group #B Region
Group #C Route
---
And Accordinglly reords are displyed
Can I change these Group Dynamically.
i.e Group #C insted of Route I wants is By ItemCode
Can I change it to ItemCode at runtime?
Plz.Suggest.
Tnx.
Regards
|
|
|
|
|
|
|
|
well i am a beginner at c#.net and has got stuck with a problem where i have to generate datatable dynamically and i has to fetch this datatable to the crystal report as a source.
i have the data table but i don't know how to provide this data table that i have generated as the input to the crystal report.
please help me!
Ravi.
|
|
|
|
|
|
|
|
|
|
|
|
Most of my efforts this week has been dedicated to generate crystal reports dynamically or "codically". Though I have not been 100% successful in this endeavor business card, I saw a few pieces of gold here and there. The following tests have been performed using Visual Studio Beta 2005 and whatever version of Crystal Reports it came with!
Removing/Editing an existing object from the report
In order to remove an existsing report object from a report (testReport), the following code can be used as an example:
testReport.ReportDefinition.Sections["Section3"].Height = 600;
testReport.ReportDefinition.Sections["Section3"].ReportObjects[0].ObjectFormat.EnableSuppress = true;
//The report object as well as section can be addressed using the integer subscript (as done in ReportObjects[0]) or its name (as done in Sections["Section3"]credit score)
thanx for responding but my need is such that i dont have any fixed structure for the table... which is the datasource for my report. the choice made by the user defines the structure at the run time and the data is then filled into it. So, i need the API using which i can define the structure of the data to be shown at run time and put data which is there in my table into the detail section.
hoping for a positive response telemarketing.
I have been trying to findmout how to generate a dynamic report in visual basic. I know how to design a database program and use crystal report or data report with dataenvironment. Really this does little compared to what i want. What i need is that when a user select the fields he/she wants to use or see i want those fields alone to be reported in the crystal report or data report. That is what i have been trying to find out. Please kindly help me if you can foreclosure.
|
|
| This 68 message thread spans 5 pages: < < 1 2 3 4 [5] > > |