k here is the code...
Private Sub Form_Load()
MDIMain.Center Me
MDIMain.DisableCloseWindowButton Me
Call Load_cmbEvent
Call Load_cmbFacilitator
Call Load_cmbLocation
Call cmbLocation_Click
If intScheduleEdit = 2 Then
Call Load_Boxes
Call Load_grdRoster
End If
If intScheduleEdit = 1 Then
cmdAdd.Enabled = False
cmdExisting.Enabled = False
End If
cmdDelete.Enabled = False
End Sub
Private Sub Load_grdRoster()
Dim strSSN As String
Dim strLN As String
Dim strFN As String
Set DBComm = New ADODB.Command
Set DBRec = New ADODB.Recordset
DBComm.ActiveConnection = DBConn
DBComm.CommandText = "Select * Tables"
DBComm.CommandType = adCmdText
Set DBRec.Source = DBComm
DBRec.Open
If DBRec.EOF Or DBRec.BOF Then
grdRoster.Enabled = False
grdRoster.Clear
grdRoster.Cols = 0
grdRoster.Rows = 0
Else
grdRoster.Clear
grdRoster.Enabled = True
grdRoster.Cols = 5
grdRoster.Rows = 2
grdRoster.FixedRows = 1
grdRoster.Col = 0
grdRoster.Row = 0
grdRoster.ColWidth(0) = 0
grdRoster.Col = 1
grdRoster.Row = 0
grdRoster.ColWidth(1) = 500
grdRoster.ColAlignment(1) = 4
grdRoster.Text = "#"
grdRoster.Col = 2
grdRoster.Row = 0
grdRoster.ColWidth(2) = 1000
grdRoster.ColAlignment(2) = 4
grdRoster.Text = "SSN"
grdRoster.Col = 3
grdRoster.Row = 0
grdRoster.ColWidth(3) = 4357
grdRoster.ColAlignment(3) = 1
grdRoster.Text = "NAME"
grdRoster.Col = 4
grdRoster.Row = 0
grdRoster.ColWidth(4) = 1500
grdRoster.ColAlignment(4) = 4
grdRoster.Text = "ATTENDANCE"
If DBRec.RecordCount <> 0 Then
i = 1
While Not DBRec.EOF
If i + 1 = grdRoster.Rows Then
grdRoster.Rows = grdRoster.Rows + 1
End If
If Not IsNull(DBRec("RosterID"

) Then
grdRoster.TextMatrix(i, 0) = DBRec("RosterID"

End If
grdRoster.TextMatrix(i, 1) = i
If Not IsNull(DBRec("SSN"

) Then
strSSN = DBRec("SSN"

If strSSN = "" Then
Else
strSSN = Mid(strSSN, 1, 3) & "-" & Mid(strSSN, 4, 2) & "-" & Mid(strSSN, 6, 4)
End If
grdRoster.TextMatrix(i, 2) = strSSN
End If
If Not IsNull(DBRec("LastName"

) Then
strLN = DBRec("LastName"

End If
If Not IsNull(DBRec("FirstName"

) Then
strFN = DBRec("FirstName"

End If
grdRoster.TextMatrix(i, 3) = strLN + ", " + strFN
If Not IsNull(DBRec("Attendance"

) Then
grdRoster.TextMatrix(i, 4) = DBRec("Attendance"

End If
i = i + 1
DBRec.MoveNext
Wend
grdRoster.Rows = grdRoster.Rows - 1
End If
End If
DBRec.Close
'//////////Lock Add if Seat Limit is reached
Dim Limit As Integer
Limit = i - 1
If intSeatLimitPass <= Limit Then
cmdAdd.Enabled = False
cmdExisting.Enabled = False
cmdDelete.Enabled = False
txtSeatLimit.BackColor = &HFF&
Else
txtSeatLimit.BackColor = &H80000005
cmdDelete.Enabled = False
End If
cmdDelete.Enabled = False
'//////////
End Sub