Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access 2007 - Can not blank a Field

Status
Not open for further replies.

Hap007

MIS
Mar 21, 2003
1,018
US
Hi,

Have wierd problem and I am not sure if it is a Access 2007 issue

I have a form, linked to a MySQL Backend

To keep it simple, I have a Text field defined that has property of no Nulls allowed.

On the Access form, If The field has a value and I blank it out, I get an error message stating nulls are not allowed.

I am entering a space, but access seems to truncate to a null.

If I set the field definition to allow nulls, it works fine.
I can also the test for nulls on the 'AfterUpdate' and set to a space then.

So, is there some setting I can make so that a space entered is treated as a space when entering text into a text box?

Thanks,
Hap...


Access Developer [pc] Access based Accounting Solutions - with free source code
Access Consultants forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top