Click here to Skip to main content
16,010,427 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCyrstal Reports subreport Section hiding Pin
jinxster20-May-09 23:07
professionaljinxster20-May-09 23:07 
AnswerRe: Cyrstal Reports subreport Section hiding Pin
David Mujica21-May-09 3:13
David Mujica21-May-09 3:13 
GeneralRe: Cyrstal Reports subreport Section hiding Pin
jinxster21-May-09 5:53
professionaljinxster21-May-09 5:53 
GeneralRe: Cyrstal Reports subreport Section hiding Pin
David Mujica21-May-09 6:01
David Mujica21-May-09 6:01 
GeneralRe: Cyrstal Reports subreport Section hiding Pin
jinxster21-May-09 6:25
professionaljinxster21-May-09 6:25 
GeneralRe: Cyrstal Reports subreport Section hiding Pin
David Mujica21-May-09 6:29
David Mujica21-May-09 6:29 
GeneralRe: Cyrstal Reports subreport Section hiding Pin
jinxster21-May-09 6:45
professionaljinxster21-May-09 6:45 
AnswerHow are you interacting with Crystal ? Pin
David Mujica21-May-09 8:13
David Mujica21-May-09 8:13 
Here is a basic idea of how I imagine you are using Crystal Reports.

1) Using Visual Studio (VS) you create a Crystal Report design (.rpt file)
2) Using VS you have your application display the report using the CrystalReportViewer.

My example code is actually from an ASP.Net application, but the idea is the same.

Dim rpt As New ReportDocument

rpt.Load("\myReport1")
 
'For example purposes, imagine that the myDataSet is populated already

rpt.SetDataSource(myDataSet)
 
CrystalReportViewer1.ReportSource = rpt


Based on this design, you would put the hide/unhide logic in the Crystal ".RPT" file. You don't have to do anything programatically with VB.

Is this how you are working with Crystal ? Unsure | :~
From your examples, I don't think so.

My impression is that the VB.net code should:
1) Create the dataset
2) Invoke the Crystal Report via the CrystalReportViewer and let Crystal do the formatting.

Are we on the same page? Confused | :confused:
GeneralRe: How are you interacting with Crystal ? Pin
jinxster21-May-09 18:46
professionaljinxster21-May-09 18:46 
GeneralRe: How are you interacting with Crystal ? Pin
David Mujica22-May-09 3:49
David Mujica22-May-09 3:49 
GeneralRe: How are you interacting with Crystal ? Pin
jinxster22-May-09 18:53
professionaljinxster22-May-09 18:53 
GeneralGreat accomplishment Pin
David Mujica26-May-09 2:32
David Mujica26-May-09 2:32 
QuestionCustome User Control wont work Pin
binjafar20-May-09 22:03
binjafar20-May-09 22:03 
AnswerRe: Custome User Control wont work Pin
Henry Minute21-May-09 1:56
Henry Minute21-May-09 1:56 
QuestionMdi inside Mdi Pin
Samir Ibrahim20-May-09 20:29
Samir Ibrahim20-May-09 20:29 
AnswerRe: Mdi inside Mdi Pin
Henry Minute21-May-09 1:54
Henry Minute21-May-09 1:54 
GeneralRe: Mdi inside Mdi Pin
Samir Ibrahim21-May-09 3:11
Samir Ibrahim21-May-09 3:11 
GeneralRe: Mdi inside Mdi Pin
Henry Minute21-May-09 6:38
Henry Minute21-May-09 6:38 
GeneralRe: Mdi inside Mdi Pin
Samir Ibrahim21-May-09 7:09
Samir Ibrahim21-May-09 7:09 
GeneralRe: Mdi inside Mdi Pin
Henry Minute21-May-09 7:17
Henry Minute21-May-09 7:17 
AnswerRe: Mdi inside Mdi Pin
Dave Kreskowiak21-May-09 2:00
mveDave Kreskowiak21-May-09 2:00 
GeneralRe: Mdi inside Mdi Pin
Samir Ibrahim21-May-09 3:03
Samir Ibrahim21-May-09 3:03 
GeneralRe: Mdi inside Mdi Pin
Dave Kreskowiak21-May-09 3:43
mveDave Kreskowiak21-May-09 3:43 
Question#VALUE errors whenever I turn my back Pin
aastudent20-May-09 20:27
aastudent20-May-09 20:27 
AnswerRe: #VALUE errors whenever I turn my back Pin
Dave Kreskowiak21-May-09 1:58
mveDave Kreskowiak21-May-09 1:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.