VB6 SQL INSERT
I have a code below, I'm trying to check first if my textboxes have values then insert them in database, but I my code forever get "Welcome", even if there are no values in the textboxes
If txtSalary.Text <> " " AND txtmCover <> " " AND txtMember.Text <> " " AND txtmRate.Text <> " " Then
MsgBox "Enter Values"
Last edited by stahorse; November 18th, 2013 at 06:47 AM..