constraint error


Author
Message
Eric Leissler
Eric Leissler
StrataFrame User (215 reputation)StrataFrame User (215 reputation)StrataFrame User (215 reputation)StrataFrame User (215 reputation)StrataFrame User (215 reputation)StrataFrame User (215 reputation)StrataFrame User (215 reputation)StrataFrame User (215 reputation)StrataFrame User (215 reputation)
Group: StrataFrame Users
Posts: 0, Visits: 527
hi ,

on a sample project  i mad a form with a combo box and some textbôx

this project has two monht

today i open this project and

i woud like to add a column to my combobox, but wen i ckick on the propertie

populationdatasourcesetting,

i have this error

ConstraintException
  La colonne 'value' doit être unique. La valeur 'agenda.bo_adresse' est déjà présente.

Source     : System.Data

Stack Trace:
   à System.Data.UniqueConstraint.CheckConstraint(DataRow row, DataRowAction action)
   à System.Data.DataTable.RaiseRowChanging(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction, Boolean fireEvent)
   à System.Data.DataTable.SetNewRecordWorker(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Boolean suppressEnsurePropertyChanged, Int32 position, Boolean fireEvent, Exception& deferredException)
   à System.Data.DataTable.InsertRow(DataRow row, Int64 proposedID, Int32 pos, Boolean fireEvent)
   à MicroFour.StrataFrame.Extensibility.ListPopulationEditorDialog.ᜂ()
   à MicroFour.StrataFrame.Extensibility.ListPopulationEditorDialog.ᜁ(Object A_0, EventArgs A_1)


Have you an idea ??

thanks

best regard

Eric LEISSLER
Tags
Michel Levy
Michel Levy
StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)
Group: StrataFrame Users
Posts: 193, Visits: 9K
Hi Eric,

check your project, you may have referenced twice the same assembly. First, check in Project References if the exe of the project itself is not referenced.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search