Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

*Implements & Interfaces*

Status
Not open for further replies.

Jesus4u

Programmer
Feb 15, 2001
110
0
0
US
I have a Class named ILookUp with this code

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top