Click here to Skip to main content
16,008,183 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Getting an Error. Pin
JollyMansArt14-Oct-09 5:34
JollyMansArt14-Oct-09 5:34 
GeneralRe: Getting an Error. Pin
Dave Kreskowiak14-Oct-09 6:21
mveDave Kreskowiak14-Oct-09 6:21 
GeneralRe: Getting an Error. Pin
Dave Kreskowiak14-Oct-09 6:31
mveDave Kreskowiak14-Oct-09 6:31 
QuestionRe: Getting an Error. Pin
JollyMansArt14-Oct-09 8:09
JollyMansArt14-Oct-09 8:09 
AnswerRe: Getting an Error. Pin
Dave Kreskowiak14-Oct-09 8:53
mveDave Kreskowiak14-Oct-09 8:53 
QuestionAny one with helping hand? Pin
Dambod14-Oct-09 3:03
Dambod14-Oct-09 3:03 
AnswerTry sub-reports Pin
David Mujica14-Oct-09 3:33
David Mujica14-Oct-09 3:33 
GeneralRe: Try sub-reports Pin
Dambod14-Oct-09 3:54
Dambod14-Oct-09 3:54 
Hi David,
Thanks for the reply. I am using stored procedures that require three parameters from the its caller. Based on the data supplied to the stored procedure data will be generated from various table. Can u give me some hint on how to do so using sub-reports. here is my sample code for calling stored procedure to generate report.
dim rpt as new myreportname
rpt.SetParameterValue("@studid", DataGridView1.CurrentCell.Value)
If ComboBox3.SelectedItem IsNot Nothing And TextBox3.Text IsNot Nothing Then
rpt.SetParameterValue("@term", CInt(ComboBox3.SelectedItem))
rpt.SetParameterValue("@academicyear", TextBox3.Text)
GradeReportForm.CrystalReportViewer1.ReportSource = rpt
GradeReportForm.StartPosition = FormStartPosition.CenterParent
GradeReportForm.WindowState = FormWindowState.Maximized
GradeReportForm.CrystalReportViewer1.PrintReport()

Else
MsgBox("Please Set Term and Academic year to Generate Report")
End If

I am grateful for any help you may give me.

with regards,
QuestionUPDATING BOUND OBJECT NOT WORKING Pin
Member 66434313-Oct-09 21:25
Member 66434313-Oct-09 21:25 
AnswerRe: UPDATING BOUND OBJECT NOT WORKING Pin
Ashfield14-Oct-09 1:28
Ashfield14-Oct-09 1:28 
GeneralRe: UPDATING BOUND OBJECT NOT WORKING APOLOGIES. Pin
Member 66434314-Oct-09 9:14
Member 66434314-Oct-09 9:14 
Answer> S M A C K < Pin
Dave Kreskowiak14-Oct-09 2:06
mveDave Kreskowiak14-Oct-09 2:06 
GeneralRe: > S M A C K < APOLOGIES Pin
Member 66434314-Oct-09 9:19
Member 66434314-Oct-09 9:19 
AnswerRe: UPDATING BOUND OBJECT NOT WORKING Pin
EliottA14-Oct-09 2:48
EliottA14-Oct-09 2:48 
Questionspeech recognition Pin
sawsan ahmad13-Oct-09 10:35
sawsan ahmad13-Oct-09 10:35 
AnswerRe: speech recognition Pin
_Damian S_13-Oct-09 18:07
professional_Damian S_13-Oct-09 18:07 
GeneralRe: speech recognition Pin
sawsan ahmad14-Oct-09 6:40
sawsan ahmad14-Oct-09 6:40 
QuestionVisual Basic Decompiler Pin
hande5413-Oct-09 7:38
hande5413-Oct-09 7:38 
AnswerRe: Visual Basic Decompiler Pin
Steven J Jowett13-Oct-09 7:44
Steven J Jowett13-Oct-09 7:44 
GeneralRe: Visual Basic Decompiler Pin
hande5413-Oct-09 7:54
hande5413-Oct-09 7:54 
GeneralRe: Visual Basic Decompiler Pin
EliottA13-Oct-09 8:06
EliottA13-Oct-09 8:06 
GeneralRe: Visual Basic Decompiler Pin
hande5413-Oct-09 8:13
hande5413-Oct-09 8:13 
GeneralRe: Visual Basic Decompiler Pin
Eddy Vluggen13-Oct-09 8:24
professionalEddy Vluggen13-Oct-09 8:24 
GeneralRe: Visual Basic Decompiler Pin
hande5413-Oct-09 8:31
hande5413-Oct-09 8:31 
GeneralRe: Visual Basic Decompiler Pin
hande5413-Oct-09 8:34
hande5413-Oct-09 8:34 

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.