Link to home
Start Free TrialLog in
Avatar of jjc9809
jjc9809

asked on

Error on AutoGenerated Code for Crystal Report (TechnicianCall.vb)

I am getting the following errors when project is loaded and run:

Property "New Generator" cannot be declared "overrides" becuase it does not override a property in a base class.

Property "FullResourceName" cannot be declared "overrides" becuase it does not override a property in a base class.

The Coding on my TechnicianCalls.vb automatically generated

Public Overrides Property ResourceName() As String
        Get
            Return "TechnicianCalls.rpt"
        End Get
        Set
            'Do nothing
        End Set
    End Property
   
    Public Overrides Property NewGenerator() As Boolean
        Get
            Return true
        End Get
        Set
            'Do nothing
        End Set
    End Property
   
    Public Overrides Property FullResourceName() As String
        Get
            Return "ABCLogIn.TechnicianCalls.rpt"
        End Get
        Set
            'Do nothing
        End Set
    End Property

What is causing these errors?  When I comment out the errors or remove the "overrides" word and debug, the applicaton runs and my Crsytal Report pulls up.  When I try to make a change on the TechnicianCall.rpt and re-build the errors return agian with the overrides word.

Surely someone has a solution to this problem.  This problem has to be fixed or these errors will keep coming up after the project is published.

 
ASKER CERTIFIED SOLUTION
Avatar of QPR
QPR
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial