C
Chubbly Geezer
Now I've done this before but can't remember how.
I want to pass a string into a procedure and then use that string in a Dim
statement.
i.e.
Public Function PrintReports(ByVal strDel As String, ByVal strSQL As String,
ByVal strSelect As String, ByVal ReportName As Object) As Integer
Dim myReport As CrystalDecisions.CrystalReports.Engine.ReportDocument =
ReportName
But I am getting a conversion error in that I cannot convert a string to
this object type.
Any ideas please.?
Chubbly
I want to pass a string into a procedure and then use that string in a Dim
statement.
i.e.
Public Function PrintReports(ByVal strDel As String, ByVal strSQL As String,
ByVal strSelect As String, ByVal ReportName As Object) As Integer
Dim myReport As CrystalDecisions.CrystalReports.Engine.ReportDocument =
ReportName
But I am getting a conversion error in that I cannot convert a string to
this object type.
Any ideas please.?
Chubbly