Hi, i have a issue when i patch into forall function. My datasource is Mysql this database is relational and i use a gallery with checkbox, in this checkbox show a skill description, so when the user press the boton i should insert all checked value but, i use patch function into forall the server show error. My code is next:
ForAll(Checked;Patch('DB_DEV_SIC.vco_prospectohabilidades';Defaults('DB_DEV_SIC.vco_prospectohabilidades');{idhabilidadtecnologica:LookUp('DB_DEV_SIC.vcc_habilidadestecnologicas';Descripcion = Checkbox2.Text;idhabilidadestecnologicas) ;idprospecto:v_idprospecto;idprospectohabilidades: v_idprospectohabilidades}))
The error is "Duplicate entry '1' for key primary".