Posted on 2003-03-30
Medium Priority
Last Modified: 2010-04-04
I am using Delphi 6 and Microsoft Jet 4.0 OLE DB Provider to get a connection to a “.mdb-database”. The SQL-statement “create table testtable (textfield VarChar(10) NOT NULL)” creates a new table with the textfield ‘textfield’. It is not allowed to put a NULL-value in this field. But it is also not allowed to put an empty string in this field. The setting allowzerostring is false. How can I change this setting, so that empty strings are accepted? (I am using the ADO-components.)
Question by:Andi07
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
LVL 17

Accepted Solution

geobul earned 150 total points
ID: 8235021

I don't know a way to do this task using SQL statements. Take a look at the following question (DAO example):

Regards, Geo

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question