Undeterminated Error

Undeterminated Error

 Hello,

I'm getting this error when i include a record to a form: Duplicate entry '' for key 2

there is no aparent reason for this. Here is the code of the form:

   
  1.  form Funcionarios_Dependentes
    {
    displayname = "Funcionarios Dependentes"

    must have Funcionario
    (
    type = picklist
    values = Funcionarios.Nome_Completo
    sortorder = ascending
    )

    must have Dependente
    (
    type = picklist
    values = {"Conjuge", "Filho/Filha", "Pai/Mãe", "Irmão/Irmã", "Outros"}
    )

    must have Nome
    (
    type = text
    )

    Observacoes
    (
    displayname = "Observações"
    type = textarea
    )

    Nascimento
    (
    displayname = "Data de Nascimento"
    type = date
    )

    actions
    {
    on add
    {
    submit
    (
    type = submit
    displayname = "Salvar"
    )
    reset
    (
    type = reset
    displayname = "Limpar"
    )
    }
    on edit
    {
    update
    (
    type = submit
    displayname = "Atualizar"
    )
    cancel
    (
    type = cancel
    displayname = "Cancelar"
    )
    }
    }
    }

































































Thanks for your help!

Rodny :)