|
-
Oct 16th, 2003, 09:48 PM
#1
Thread Starter
New Member
Crystal reports data different from Access Data
I'm trying to generate a report in VB6 by using Crystal connect to an Access Database.
And I use DSN as the connection. My query is so complicate, so i decide to create a temporary table that has the same field as in the crystal. My crystal report connect to that temporary table.
Whenever I want to generate a report, I pick some data from my flex grid and Insert them into the temporary table, then show my report.
the problem is that the data record in the crystal is different from data Access Database. But when I click a refresh button at the top of Crystal page, it become the same as in Access Database.
I don't know if anyone can help me to write a code to make it refresh automatically. I don't want the user to click the refresh
button everytime.
Thanks,
-
Oct 16th, 2003, 11:27 PM
#2
You need to uncheck the checkbox under File > Options... > Reporting tab
"Save data with report" in Crystal Reports.
Otherwise your report has a static snapshot of the data you
were viewing when you designed the report. That is why you
need to click the refresh button.
HTH.
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 
-
Oct 17th, 2003, 04:25 AM
#3
Thread Starter
New Member
I lost my last Record
Thank you for your advise. It now works. The Crystal refresh itself and discard the saved data.
But I still have a bit problem that I can't see my last record on the Crystall Report viewer when generating a report.
For example : If I've got 4 records, it shows only 3.
If I've got 20 records, it shows only 19.
I realy don't understand what happen to it.
I hope you expereinced with this problem.
Thanks in advance.
-
Oct 17th, 2003, 10:04 AM
#4
No, I have not come accross that issue before. There could be
some many different things, to pinpoint this one will be hard.
Need more info.
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
|