|
-
Jul 9th, 2007, 12:51 AM
#1
Thread Starter
New Member
loading data to a crystal report one by one
I have used crystal report 9 in my vb6 project with sql server 2000. I have used a combo box on a vb form to place file numbers and ask user to select a number to generate a report. at the first time report is visible. for the second time no report is generated. but report format is visible. I have used refresh method to the crystal report viewer ( CRViewer91.Refresh). please help me soon.
tks
Niroshan
-
Jul 10th, 2007, 01:45 AM
#2
Junior Member
Re: loading data to a crystal report one by one
hey niroshan2006, i tried using the refresh(coding) but i didnt work too. It just show the previous report right.? Mine did.
Did you try the manual refresh button.?
hmm. you are only using one report to display for each file number? Or?
And does that report recieve parameters.?
-
Jul 10th, 2007, 02:53 AM
#3
Re: loading data to a crystal report one by one
Did you change your RecordSource for the viewer each time too?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • 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 i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jul 10th, 2007, 03:46 AM
#4
Thread Starter
New Member
Re: loading data to a crystal report one by one
 Originally Posted by Coke
hey niroshan2006, i tried using the refresh(coding) but i didnt work too. It just show the previous report right.? Mine did.
Did you try the manual refresh button.?
hmm. you are only using one report to display for each file number? Or?
And does that report recieve parameters.?
Yes I used manual refresh also. when I used refresh method and manual refresh I get only the blank report for the second file number. I used only one report to display details of all files
-
Jul 10th, 2007, 03:57 AM
#5
Thread Starter
New Member
Re: loading data to a crystal report one by one
Yes I used manual refresh also. when I used refresh method and manual refresh I get only the blank report for the second file number. I used only one report to display details of all files
(Rate)
-
Jul 12th, 2007, 08:07 PM
#6
Junior Member
Re: loading data to a crystal report one by one
hmm. have you tried what ROBDOG888 suggested.? the source.?
-
Jul 13th, 2007, 12:32 AM
#7
Thread Starter
New Member
Re: loading data to a crystal report one by one
 Originally Posted by Coke
hmm. have you tried what ROBDOG888 suggested.? the source.?
no
PLEASE HELP ME BY GIVING THE CODE
-
Jul 14th, 2007, 05:38 PM
#8
Re: loading data to a crystal report one by one
If you have one report already loading then there is no real code to post as you would just change your report that you are passing when you .OpenReport and then .SetDataSource to the ADO recordset that pertains to the report and finally set the .ReportSource to the opened report object.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • 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 i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|