Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Zero length string

Zero length string

Zero length string


I've created a form that people will fill out online. When the form is filled out, the information is inserted in an Access database.

When I test the form (using PWS), I fill in all questions in the form. However, I'm getting this error message:

[Microsoft][ODBC Microsoft Access Driver] Field 'client_information.genre' cannot be a zero length string. In design view, "Allow zero length" and "Required" are both set at "No". I've tried setting it at "Text" and "Memo".

Any suggestions as to what the problem is?

RE: Zero length string

You need to set the field in question's "Allow Zero Length Strings" property to Yes

Jim Lunde
Custom Application Development

RE: Zero length string

Hi Jim,

Thanks for your message. I said "yes"  to Allow Zero Length Strings but only certain information from the form is inserted into the database. Also, I don't really want to allow zero length strings - in other words, I want the user to fill out that part of the form. I have also set Required to yes as well, in some cases.

However, for some reason select data isn't being inserted into the databse.  

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close