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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.