locked
Input validation with MS Access RRS feed

  • Question

  • I am using VS2008 and have a Form with a TextBox bound to a number field (float, single precision) in a MS Access table.  This works fine, except when I leave the text box empty (or null).  Then, I am not able to continue to the next TextBox on the form.  This looks as if there is some validation behind the scenes which prevents me to continue.  The corresponding field in the data table allows a null value.  What can I do?  I don't believe that I have to write validation code of my own.
    If I display this same table on a form with a DataGridView, there is no problem with leaving a cell empty.  Then,  a null value is stored in the database.

    Regards,
    Gudni
    G.Sig
    Wednesday, December 10, 2008 1:40 PM

Answers