PRB: Jet Doesn't Honor AllowZeroLength=No When Table Created With CREATE TABLE SQL Statement (217156)
The information in this article applies to:
- Microsoft Access 2.0
- Microsoft Access 2000
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
- Microsoft Visual Basic Professional Edition for Windows 4.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 4.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q217156 SYMPTOMS
When adding records to a Jet table, the user is allowed to enter empty strings even though the AllowZeroLength field property is set to False.
CAUSE
Microsoft is currently investigating the cause of this bug.
RESOLUTION
You can do one of the following:
- Create the table in Access.
- Create the table through DAO TableDef and Field objects.
- Use DAO to explicitly set the AllowZeroLength property after the table has been created through the CREATE TABLE SQL command.
Modification Type: | Major | Last Reviewed: | 6/24/2004 |
---|
Keywords: | kbDatabase kbJET kbprb KB217156 |
---|
|