Hi:
I a newbie to VB, though I have a fair bit of experience with other
languages. My problem is that I need to access the command. I have tried
using:
Private Sub ReportViewer_Lo ad(ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles MyBase.Load
Dim commandLine As String
If Command$ <> Empty Then
commandLine = Command
'frmReportViewe r.ReportSource = Command
End If
End Sub
I keep getting the error:
'System.Windows .Forms.Command' is not accessible in this context because
it is 'Private'.
I am sure I am missing something very obvious. Could someone please point
me in the correct direction?
tia:
John
I a newbie to VB, though I have a fair bit of experience with other
languages. My problem is that I need to access the command. I have tried
using:
Private Sub ReportViewer_Lo ad(ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles MyBase.Load
Dim commandLine As String
If Command$ <> Empty Then
commandLine = Command
'frmReportViewe r.ReportSource = Command
End If
End Sub
I keep getting the error:
'System.Windows .Forms.Command' is not accessible in this context because
it is 'Private'.
I am sure I am missing something very obvious. Could someone please point
me in the correct direction?
tia:
John
Comment