Hello guys am having trouble returning udt from a class
see what i did below
i put this in a module
i put this in this code in classCode:'// UDT TICKETS // Public Type udtTicket Ticket_id As String Ticket_pass As String sCost As Integer Time As String Validity As Integer FromTime As String ToTime As String Created As Date User As String End Type
guys pls help me outCode:'################################### '# Retrive a ticket # '################################### Public Function GetTicket(id As Integer) As udtTicket GetTicket = sAllTicket(id) End Function




Reply With Quote