tags:

views:

61

answers:

2
Private m_IncidentDateRange As New MCWebServiceCOMWrapper.DateRange

Public Property Get IncidentDateRange() As MCWebServiceCOMWrapper.DateRange
    IncidentDateRange = m_IncidentDateRange
End Property
Public Property Let IncidentDateRange(ByRef vNewValue As MCWebServiceCOMWrapper.DateRange)
    Set m_IncidentDateRange = vNewValue
End Property

Error comes up in Get method please help

+1  A: 

I would check the documentation for the MCWebServiceCOMWrapper.DateRange object and see if you are required to initialized it with values before you can use it. (maybe set a beginning and end date).

David Stratton
A: 

Don't you need to use "Set" there?

Jonathan