I have a Class named ILookUp with this code
I have another Class referencing the ILookUp
This is my first time doing things this way, is this the CORRECT way to reference the Interface ILookUp?
Thanks
Code:
Function GetByID(ByVal lngID As Long) As Variant
End Function
Function GetByEmail(ByVal strEmail As String) As Variant
End Function
I have another Class referencing the ILookUp
Code:
Implements ILookUp
Function ILookUp_GetByID(ByVal lngID As Long) As Variant
ILookUp_GetByID = "Cust ID:" & lngID
End Function
Function ILookUp_GetByEmail(ByVal strEmail As String) As Variant
ILookUp_GetByEmail = "Cust Email:" & strEmail
End Function
This is my first time doing things this way, is this the CORRECT way to reference the Interface ILookUp?
Thanks