PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft ADO .NET
Enabling Constraints
Forums
Newsgroups
Microsoft DotNet
Microsoft ADO .NET
Enabling Constraints
![]() |
Enabling Constraints |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
"nbohana" <nbohana@discussions.microsoft.com> wrote in message news 8774095-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 |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

8774095-29B9-47A7-82BE-6FD6B56A7ADB@microsoft.com...
