Click here to Skip to main content
16,005,169 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Exit a funcion/sub Pin
Ray Cassick25-Feb-08 12:21
Ray Cassick25-Feb-08 12:21 
GeneralRe: Exit a funcion/sub Pin
Luc Pattyn25-Feb-08 12:52
sitebuilderLuc Pattyn25-Feb-08 12:52 
GeneralClicking with a timer Pin
mykingdomforanewusername25-Feb-08 6:24
mykingdomforanewusername25-Feb-08 6:24 
GeneralRe: Clicking with a timer Pin
Smithers-Jones25-Feb-08 6:46
Smithers-Jones25-Feb-08 6:46 
GeneralRe: Clicking with a timer Pin
Paul Conrad25-Feb-08 8:46
professionalPaul Conrad25-Feb-08 8:46 
GeneralDrag and Drop during runtime Pin
Zaegra25-Feb-08 0:29
Zaegra25-Feb-08 0:29 
GeneralRe: Drag and Drop during runtime Pin
Smithers-Jones25-Feb-08 6:00
Smithers-Jones25-Feb-08 6:00 
GeneralProblem to pass Date parameter value to ReportViewer Pin
sonj25-Feb-08 0:14
sonj25-Feb-08 0:14 
Hi All

I have created a DAL using datasource and added few function and it accept from and to Date. Then added a Report Viewer control to my Windows application. After that I added new item Report1.rdlc. Then I dragged field from Dataset on to Report1 and organized and set the Datasource .rdlc to the Report Viewer control after that I executed my application working fine. Now I decided to added two datetime parameter to my Report1 and added. When I try to run the .SetParameters it thrown error as 'An error occured during local report processing'

Could you please help me how to solve.

<code>  Dim rsDataSource As New ReportDataSource("OT Applied Info", OverTimeEntryTable)

            Me.Reports.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Local
            Me.Reports.LocalReport.EnableExternalImages = True
            Me.Reports.LocalReport.ExecuteReportInCurrentAppDomain(System.Reflection.Assembly.GetExecutingAssembly().Evidence)

            Me.Reports.LocalReport.DataSources.Clear()
            Me.Reports.LocalReport.ReportEmbeddedResource = "OTApplied.rdlc"
            Me.Reports.LocalReport.DataSources.Add(rsDataSource)

            Dim params(0) As Microsoft.Reporting.WinForms.ReportParameter            
            params(0) = New Microsoft.Reporting.WinForms.ReportParameter("SDate", Format(CDate(dtpSDate.Text), "MM-dd-yy"), True)
            params(1) = New Microsoft.Reporting.WinForms.ReportParameter("EDate", Format(CDate(dtpEDate.Text), "MM-dd-yy"), True)
            Me.Reports.LocalReport.SetParameters(params)
            
            Reports.LocalReport.DataSources.Add(rsDataSource)
            Reports.Visible = True

            Reports.LocalReport.Refresh()</code>

Thanks
Sonj<big></big><big></big> 

AnswerRe: Problem to pass Date parameter value to ReportViewer Pin
sonj26-Feb-08 3:01
sonj26-Feb-08 3:01 
GeneralHelp with Return value Problem Pin
Vimalsoft(Pty) Ltd24-Feb-08 21:13
professionalVimalsoft(Pty) Ltd24-Feb-08 21:13 
GeneralRe: Help with Return value Problem Pin
Christian Graus24-Feb-08 21:30
protectorChristian Graus24-Feb-08 21:30 
GeneralRe: Help with Return value Problem Pin
Vimalsoft(Pty) Ltd24-Feb-08 22:03
professionalVimalsoft(Pty) Ltd24-Feb-08 22:03 
GeneralRe: Help with Return value Problem Pin
Christian Graus24-Feb-08 22:59
protectorChristian Graus24-Feb-08 22:59 
GeneralRe: Help with Return value Problem Pin
Vimalsoft(Pty) Ltd24-Feb-08 23:26
professionalVimalsoft(Pty) Ltd24-Feb-08 23:26 
GeneralRe: Help with Return value Problem Pin
J4amieC24-Feb-08 23:23
J4amieC24-Feb-08 23:23 
GeneralRe: Help with Return value Problem Pin
Christian Graus25-Feb-08 9:30
protectorChristian Graus25-Feb-08 9:30 
Questionhow to query pass to crystalreport using vb net Pin
Parvai24-Feb-08 21:07
Parvai24-Feb-08 21:07 
QuestionHow To restrict The Opening of Multliple Login Screens of a VB.Net Application ? Pin
Balagurunathan S24-Feb-08 20:36
Balagurunathan S24-Feb-08 20:36 
AnswerRe: How To restrict The Opening of Multliple Login Screens of a VB.Net Application ? Pin
Christian Graus24-Feb-08 21:32
protectorChristian Graus24-Feb-08 21:32 
GeneralChange the icon Pin
dnsl24-Feb-08 20:15
dnsl24-Feb-08 20:15 
GeneralRe: Change the icon Pin
Smithers-Jones24-Feb-08 21:23
Smithers-Jones24-Feb-08 21:23 
Generaldoubt in VB.Net "split" method Pin
MS Lee24-Feb-08 19:40
MS Lee24-Feb-08 19:40 
GeneralRe: doubt in VB.Net "split" method Pin
Mycroft Holmes24-Feb-08 19:57
professionalMycroft Holmes24-Feb-08 19:57 
GeneralRe: doubt in VB.Net "split" method Pin
MS Lee24-Feb-08 20:24
MS Lee24-Feb-08 20:24 
GeneralRe: doubt in VB.Net "split" method Pin
Mycroft Holmes24-Feb-08 20:41
professionalMycroft Holmes24-Feb-08 20:41 

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.