VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3090
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3090
   ScaleWidth      =   4680
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command1 
      Caption         =   "Command1"
      Height          =   495
      Left            =   3000
      TabIndex        =   3
      Top             =   2280
      Width           =   1215
   End
   Begin VB.TextBox Text3 
      Height          =   495
      Left            =   1680
      TabIndex        =   2
      Top             =   1560
      Width           =   1215
   End
   Begin VB.TextBox Text2 
      Height          =   495
      Left            =   2640
      TabIndex        =   1
      Top             =   840
      Width           =   1215
   End
   Begin VB.TextBox Text1 
      Height          =   495
      Left            =   840
      TabIndex        =   0
      Top             =   840
      Width           =   1215
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Text1_Validate(Cancel As Boolean)

    If LenB(Trim$(Text1.Text)) = 0 Then
        MsgBox "Text1 must not be blank"
        Cancel = True
    End If
    
End Sub


Private Sub Text2_Validate(Cancel As Boolean)

    If LenB(Trim$(Text2.Text)) = 0 Then
        MsgBox "Text2 must not be blank"
        Cancel = True
    End If

End Sub


Private Sub Text3_Validate(Cancel As Boolean)

    If LenB(Trim$(Text3.Text)) = 0 Then
        MsgBox "Text3 must not be blank"
        Cancel = True
    End If

End Sub


