Click here to Skip to main content
15,891,431 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionsetup and deployment Pin
manni_n9-Mar-07 3:10
manni_n9-Mar-07 3:10 
AnswerRe: setup and deployment Pin
MatrixCoder9-Mar-07 3:55
MatrixCoder9-Mar-07 3:55 
QuestionForm wizart Pin
ccoglu9-Mar-07 2:15
ccoglu9-Mar-07 2:15 
Questionshrinking and expanding Pin
balakpn9-Mar-07 0:59
balakpn9-Mar-07 0:59 
AnswerRe: shrinking and expanding Pin
TwoFaced9-Mar-07 8:18
TwoFaced9-Mar-07 8:18 
AnswerRe: shrinking and expanding Pin
The ANZAC9-Mar-07 23:38
The ANZAC9-Mar-07 23:38 
QuestionUpdate XML with imported data Pin
penguin50009-Mar-07 0:34
penguin50009-Mar-07 0:34 
QuestionHow to pass parameters to subreport frm vb.net code? Pin
priya_p2339-Mar-07 0:24
priya_p2339-Mar-07 0:24 
hi,
i m calling crystal report frm my vb.net(winforms) form.
my report contains 1 subreport & both main & sub report contains the parameter, on which record selection depends.
it is ok with my code to pass value to main report. but tell me please how to pass parameter value to subreport?
i m passing parameter values by following code-?

Dim myReport1 As New CRptTimesheetPerEmp
Dim crParameterFieldDefinitions As ParameterFieldDefinitions
Dim crParameterFieldDefinition As ParameterFieldDefinition
Dim crParameterValues As New ParameterValues()
Dim crParameterDiscreteValue As New ParameterDiscreteValue()


crParameterDiscreteValue.Value = frmTimeSheetRpt1.cmbEmpId.Text
crParameterFieldDefinitions = myReport1.DataDefinition.ParameterFields
crParameterFieldDefinition = crParameterFieldDefinitions.Item(0)

crParameterValues = crParameterFieldDefinition.CurrentValues
crParameterValues.Clear()
crParameterValues.Add(crParameterDiscreteValue)
crParameterFieldDefinition.ApplyCurrentValues(crParameterValues)
CrystRptVEmpTimeSheet.ReportSource = myReport1




"The Difficult i can do it now...
The Impossible will take a little longer."

AnswerRe: How to pass parameters to subreport frm vb.net code? Pin
dotnet_lover11-Mar-07 4:28
dotnet_lover11-Mar-07 4:28 
Questiontext editor which is independent....... Pin
Pushpa Setty8-Mar-07 23:23
Pushpa Setty8-Mar-07 23:23 
AnswerRe: text editor which is independent....... Pin
balakpn9-Mar-07 1:41
balakpn9-Mar-07 1:41 
AnswerRe: text editor which is independent....... Pin
Vasudevan Deepak Kumar9-Mar-07 7:12
Vasudevan Deepak Kumar9-Mar-07 7:12 
GeneralRe: text editor which is independent....... Pin
haggenx9-Mar-07 7:40
haggenx9-Mar-07 7:40 
AnswerRe: text editor which is independent....... Pin
The ANZAC9-Mar-07 23:32
The ANZAC9-Mar-07 23:32 
QuestionWeb resource between vb.net 2005 and dialup network connection Pin
Mekong River8-Mar-07 23:21
Mekong River8-Mar-07 23:21 
AnswerRe: Web resource between vb.net 2005 and dialup network connection Pin
Marcus J. Smith9-Mar-07 3:25
professionalMarcus J. Smith9-Mar-07 3:25 
GeneralRe: Web resource between vb.net 2005 and dialup network connection Pin
Mekong River9-Mar-07 21:35
Mekong River9-Mar-07 21:35 
QuestionMails in Windows Service Pin
umashankergr88-Mar-07 22:50
umashankergr88-Mar-07 22:50 
AnswerRe: Mails in Windows Service Pin
Johan Hakkesteegt8-Mar-07 23:09
Johan Hakkesteegt8-Mar-07 23:09 
GeneralRe: Mails in Windows Service Pin
umashankergr811-Mar-07 7:53
umashankergr811-Mar-07 7:53 
AnswerRe: Mails in Windows Service Pin
Vasudevan Deepak Kumar9-Mar-07 7:13
Vasudevan Deepak Kumar9-Mar-07 7:13 
QuestionThanks Dave Kreskowiak Pin
Adekolurejo8-Mar-07 21:15
Adekolurejo8-Mar-07 21:15 
AnswerRe: Thanks Dave Kreskowiak Pin
Pete O'Hanlon8-Mar-07 22:43
mvePete O'Hanlon8-Mar-07 22:43 
GeneralRe: Thanks Dave Kreskowiak Pin
balakpn9-Mar-07 2:33
balakpn9-Mar-07 2:33 
GeneralRe: Thanks Dave Kreskowiak Pin
Colin Angus Mackay9-Mar-07 2:56
Colin Angus Mackay9-Mar-07 2:56 

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.