Lek Plepi -9 Newbie Poster Banned

Hello
I have this code for avoiding empty textboxes
but what about empty flexgrids????


Private Sub cmdSave_Click()

If txtID.Text = "" Or IsNull(txtID.Text) = True Then
Call MsgBox("There is no ID.", vbExclamation, "Warning")
txtID.SetFocus
Exit Sub

End If