Data Connectivity
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Data Connectivity
Message Icon Topic: Need help --Report doesn't show data on 2nd report Post Reply Post New Topic
Author Message
Chair
Newbie
Newbie


Joined: 07 Mar 2011
Online Status: Offline
Posts: 3
Quote Chair Replybullet Topic: Need help --Report doesn't show data on 2nd report
    Posted: 07 Mar 2011 at 9:49pm
Hi,

I have successfully created and generated crystal reports in VB.Net. My only problem is this: I have two (2) different documents which I can view/generate by clicking on two separate buttons (I've placed the buttons in one window form, but on different Groupboxes). When I click on button1 to generate Doc1, I can view the report correctly. But when I click on button2 to generate Doc2, this one just shows blank (no data). If I exit my app, and then do it again, this time clicking first button2, Doc2 shows correctly, and then I click button1, Doc1 doesn't show. I've noticed that Crystal Report asks for my logon details only once, and then doesn't ask again if I try to view the second document. Do I have to tweak something somewhere to get the report to show correctly all the time? I use VS2008/MS Sql Server 2008. If someone can pls help me, I'd be most grateful. It's kind of urgent. Thanks so much in advance.
IP IP Logged
Chair
Newbie
Newbie


Joined: 07 Mar 2011
Online Status: Offline
Posts: 3
Quote Chair Replybullet Posted: 16 Mar 2011 at 4:13am
Hi, do we have somebody here who can help please??
IP IP Logged
Chair
Newbie
Newbie


Joined: 07 Mar 2011
Online Status: Offline
Posts: 3
Quote Chair Replybullet Posted: 20 Mar 2011 at 7:39pm
Hi,
Never mind. I already solved this problem; it's in my VB code (I used ds.Tables(1) instead of ds.Tables("mytable") as my doc.SetDataSource). Totally not related to crystal report. Thanks.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.