
-----------------------------------
GlobeTrotter
Sun Jun 05, 2005 3:52 pm

Comparing types with an equal sign?
-----------------------------------
Wy doesn't this code work/ how can I get around it.  I want to check if all of the elements of a record are empty.

In a module:

Public Type TestRecord
    stName As String
    iNumber As Integer
End Type


In the form

Dim BlankRecord As TestRecord
Dim Test As TestRecord


Private Sub Form_Load()
    Test.stName = "hi"
    Test.iNumber = 9
    
    If Test = BlankRecord Then
        End
    End If
End Sub


