Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trouble using parameterfields with Crystal reports.net

Status
Not open for further replies.

Luther1978

Technical User
Joined
Nov 13, 2002
Messages
74
Location
GB
Other Threads suggest using the ParameterFields (i.e. Thread 796-811936)

But I can't seem to simply create a parameterfields using Dim ParameterFields As ParameterFields

Am I missing something fundamently basic?

my code:

Sub Open_CrystalViewer_STD(ByVal ReportName As String, ByVal StartPeriod As Date, ByVal EndPeriod As Date)
MsgBox(CDate(StartPeriod) & " To " & CDate(EndPeriod))
Dim paramField As ParameterFields
Dim ViewRpt As New FRM_ViewReport

ViewRpt.CrystalReportViewer().ReportSource = ReportName
ViewRpt.Show()
End Sub

underlines the ParameterFields in blue to suggest it doesn't understand.

Do I have to import the CrystalDecisions.Shared module somehow its listed in the references in the solution.


Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top