Implicit Conversion Warning

G

Guest

I have a function that I use assign values to Crystal Reports. Here is my
procedure signature:

Public Sub AddParameter(ByRef crReport As _
CrystalDecisions.CrystalReports.Engine.ReportDocument, _
ByVal strParamName As String, ByVal objValue As Object)

When I compile my application I get warnings about an implicit conversion
warning because I am using ByRef and converting my reports 'down' to a
generic report document then passing it back. Is there anyway that I can
eliminate this warning? I have never had a problem with this in the past.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top