PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET Enabling Constraints

Reply

Enabling Constraints

 
Thread Tools Rate Thread
Old 08-02-2006, 05:25 PM   #1
=?Utf-8?B?bmJvaGFuYQ==?=
Guest
 
Posts: n/a
Default Enabling Constraints


I am getting a message when I issue a 'FILL' command. The message is: 'Failed
to enable cinstraints'. I am not sure what this means, can someone explain
what I have done wrong.
--
Norm Bohana
  Reply With Quote
Old 08-02-2006, 07:04 PM   #2
W.G. Ryan - MVP
Guest
 
Posts: n/a
Default Re: Enabling Constraints


"nbohana" <nbohana@discussions.microsoft.com> wrote in message
news8774095-29B9-47A7-82BE-6FD6B56A7ADB@microsoft.com...
>I am getting a message when I issue a 'FILL' command. The message is:
>'Failed
> to enable cinstraints'. I am not sure what this means, can someone
> explain
> what I have done wrong.

--Check for issues like having Null values where the specification in your
dataTable doesn't allow nulls, datatypes (i.e. strings in integer fields),
primary key vioations and the like. In my experience it's usually nulls (you
can set MinOccurences to 0 t to get around this) but it could be one of the
others. Another thing might be that you have Autoincrement set to true but
you're getting the values from the DB so this conflicts as well. Chances
are it's one of these but if it isn't, please let me know and I'll try to
nail it down.

Cheers,

Bill
> --
> Norm Bohana



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off