HI
I have some problems to evaluate null values,[EmpName] is a string form field that display employee names if an employee is in the table where form is based it works fine for employees that are in the table but when a null val is displayed on this field the If statement doesn't work am I missing something or is there a diferent way to evaluate empty string field values ??
Tks for your help
Raymundo Walle
I have some problems to evaluate null values,[EmpName] is a string form field that display employee names if an employee is in the table where form is based it works fine for employees that are in the table but when a null val is displayed on this field the If statement doesn't work am I missing something or is there a diferent way to evaluate empty string field values ??
Tks for your help
Raymundo Walle
Code:
If Me.EmpName = "" Then MsgBox "Usted no esta registrado en este sistema", 16, "Falla de Autentificacion" DoCmd.Close Else DoCmd.OpenForm "Principal", acNormal, , , acFormEdit, acWindowNormal, "" End If Debug.Print Me.EmpName End Sub
Comment