Almost...
VB Code:
Public Property Get ProcessorType() As [b]String[/b] On Error Resume Next Select Case mvarProcessorType Case 0 ProcessorType = "PLC-3" Case 1 ProcessorType = "PLC-5/250" Case 2 ProcessorType = "PLC-5" Case 3 ProcessorType = "SLC 500" Case 4 ProcessorType = "MicroLogix" End Select End Property
It needed to return a String.... not ProcessorType (which is a number).
Tg




Reply With Quote