Duplicate entry for colum....

Hello, i want update an object that have a UNIQUE relation with other table, but the return is

Duplicate entry for column 'solicitud'

How i can update this object?

Hi Ernesto,

Could you please provide some information about this issue. Please describe schema of table you try to update and request you try to execute.

Regards,

Denys

I have a Table “Viaje”, this has a UNIQUE field “solicitud” and is a Reference for other Table “Solicitud”. When create object its ok, but i need change a field (status) after create, so

object.setStatus(1);
object.save();

http://support.backendless.com/public/attachments/1706321e7cb87e930dec24fa6256f916.jpg</img>

And i gets

Duplicate entry for column 'solicitud'