|
|
#1 |
|
Lively Member
Join Date: Apr 05
Posts: 71
![]() |
Display the number of records in Crystal Report 9
Hi All,
Is there any idea to display the number of records in Crystal Report 9 (CRViewer91). In crystal Repot 6, it is shown in the tool bar by default. But in Crystl Repot 9 there is no such faciltiy. Can anybody suggest a solution to display in the umber of record in report or in tool bar for Crystal Report 9. Wit regards, Nasreen Last edited by nasreen; Mar 5th, 2007 at 02:44 AM. |
|
|
|
|
|
#2 |
|
Super Moderator
Join Date: Apr 01
Location: LA, Calif. Raiders #1 AKA:Gangsta Yoda™
Posts: 58,875
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Re: Display number of records in Crystal Report 9
Its been a while but you can create a running sum formula and add it to your report.
__________________
VB/Office Guru™ (AKA: Gangsta Yoda™ I dont answer coding questions via PM. Please post a thread in the appropriate forum. ![]() ![]() Microsoft MVP 2006, 2007, 2008, 2009, 2010 Office Development FAQ (VBA, VB 6, VB.NET, C#) Software Engineer MCP (VB 6 & .NET), BSEE, CET If a post has helped you then Please Rate it! • Star Wars Gangsta Rap • Reps & Rating Posts • VS.NET on Vista (New) • Multiple .NET Framework Versions (New) • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility • System: Intel Core 2 Extreme Ed., 2 WD Raptor 10K RPM 150 GB HDs RAID 1, 2 GBs DDR2 667 MHz RAM, 3 Viewsonic 17" LCDs, Windows Vista RTM, IE 7, Office 2007 |
|
|
|
|
|
#3 |
|
Just Married
Join Date: Mar 06
Location: Udaipur,Rajasthan(INDIA)
Posts: 3,742
![]() ![]() |
Re: Display the number of records in Crystal Report 9
Read Crystal report tutorial at my signature, See the last Post.
|
|
|
|
|
|
#4 |
|
Lively Member
Join Date: Apr 05
Posts: 71
![]() |
Re: Display the number of records in Crystal Report 9
Hi shakti5385,
Can u pls give me the link to the Crystal report tutorial at your signature With regards, Nasreen |
|
|
|
|
|
#5 |
|
Just Married
Join Date: Mar 06
Location: Udaipur,Rajasthan(INDIA)
Posts: 3,742
![]() ![]() |
Re: Display the number of records in Crystal Report 9
|
|
|
|
|
|
#6 |
|
Lively Member
Join Date: Apr 05
Posts: 71
![]() |
Re: Display the number of records in Crystal Report 9
Hi shakti5385
Thanks for your prompt reply Here I use Crystal Repot 9 (CRViewer91) in VB6 I can't see a property or method as .RecordsPrinted under Crystal repot 9 Here is my exact VB code VB Code:
How can I display the number of records in my this report. With regards, Nasreen |
|
|
|
|
|
#7 | |
|
Lively Member
Join Date: Apr 05
Posts: 71
![]() |
Re: Display number of records in Crystal Report 9
Hi Mr. RobDog888
Your rpelay Quote:
Can u pls describe me how can I run the sum formula as you think. Which field I can use for sum. ? With regards, Nasreen |
|
|
|
|
|
|
#8 |
|
Just Married
Join Date: Mar 06
Location: Udaipur,Rajasthan(INDIA)
Posts: 3,742
![]() ![]() |
Re: Display the number of records in Crystal Report 9
Crystal report control has a .RecordPrinted Property you can pass the value of this property using the parameter in the crystal report.
http://vbforums.com/showpost.php?p=2647344&postcount=3 |
|
|
|
|
|
#9 |
|
Lively Member
Join Date: Apr 05
Posts: 71
![]() |
Re: Display the number of records in Crystal Report 9
Hi shakti5385
Thanks, But your idea is only applicable for Crystal Report OCX control, which is no longer available all new features of crystal report 8 and onwards Even the Seaget crystal report team doesn't suggest to use this control more after the release of Crystal Report 8. They suggest to use The Report Designer Component (RDC) as a better method. And we cannot open a report designed in Crystal Report 9 using .Action method of this Crystal Reprot OCX control. If we try, a run time error Unable to load report. will come. Overall, if we use this OCX control for a reprot designed in Crystal Report 6, the number of records will be displayed on the tool bar of the report by default, the case already I indicated in my first question. But as I think your this idea is not applicable for crystal report 9, especially for (RDC) method. So if you have an idea which is alo applicable for crystal report 9, pls help in this regards. With regards, Nasreen |
|
|
|
|
|
#10 | |
|
Super Moderator
Join Date: Apr 01
Location: LA, Calif. Raiders #1 AKA:Gangsta Yoda™
Posts: 58,875
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Re: Display number of records in Crystal Report 9
Quote:
__________________
VB/Office Guru™ (AKA: Gangsta Yoda™ I dont answer coding questions via PM. Please post a thread in the appropriate forum. ![]() ![]() Microsoft MVP 2006, 2007, 2008, 2009, 2010 Office Development FAQ (VBA, VB 6, VB.NET, C#) Software Engineer MCP (VB 6 & .NET), BSEE, CET If a post has helped you then Please Rate it! • Star Wars Gangsta Rap • Reps & Rating Posts • VS.NET on Vista (New) • Multiple .NET Framework Versions (New) • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility • System: Intel Core 2 Extreme Ed., 2 WD Raptor 10K RPM 150 GB HDs RAID 1, 2 GBs DDR2 667 MHz RAM, 3 Viewsonic 17" LCDs, Windows Vista RTM, IE 7, Office 2007 |
|
|
|
|
|
|
#11 |
|
Just Married
Join Date: Mar 06
Location: Udaipur,Rajasthan(INDIA)
Posts: 3,742
![]() ![]() |
Re: Display the number of records in Crystal Report 9
Ok that’s fine
If you do not want t use the OCX control then best idea is that you can use parameter in the crystal report, using the parameter you can pass the value of the total printed record (you can get them from the SQL query). |
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|