Required property of datatable

  • Thread starter Thread starter Kejpa
  • Start date Start date
K

Kejpa

Hi,
I have a datatable which I try to update but the update fails because a
required property of one of the fields is set to True.

Where can I find this property?
On the Column there's only a AllowDBNull property but it's not the same...

Regards
Kejpa

I'm using MSAccess, might be worth noting
 
Kejpa said:
Hi,
I have a datatable which I try to update but the update fails because a
required property of one of the fields is set to True.

Where can I find this property?
On the Column there's only a AllowDBNull property but it's not the same...

Regards
Kejpa

I'm using MSAccess, might be worth noting

There's also a setting "allow zero length" or something to that effect.
I've tripped over that one myself a few times.

Rinze van Huizen
 
Yeah,
I've bumped into those two before, the strange default behaviour is that a
text field isn't required and don't allow zero length....
That's a contradiction to me and how do you store nothing in that field?!?

But that's not the case this time.

/Kejpa
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top