I am coming up against this problem on a regular basis which makes me think Im not understanding the constructor theory too well.
Im sur eyou will see the problem as soon as you read .....
Yup, its the ole narrowing conversion thingy. Is there a way around this as Im having to invent stupid ways to get around it like this, which is rediculous!!
Thnx
Im sur eyou will see the problem as soon as you read .....
Code:
Public New(ByVal lngEquipmentID as Long)
Public New(ByVal blnLiveRecords as Boolean)
Public New(ByVal strSupplierName as String)
Yup, its the ole narrowing conversion thingy. Is there a way around this as Im having to invent stupid ways to get around it like this, which is rediculous!!
Code:
Public New(ByVal lngEquipmentID as Long)
Public New(ByVal blnLiveRecord as Boolean, ByVal strAnyCrap as String)
Thnx