Subject Re: [IBO] Problems with transaction
Author Lester Caine
dark_wolf1812 wrote:

> Project Futebol.exe raised exception class EIB_DATASETERROR with
> message "TB001_CODIGO_POSICAO is a required field". Process stopped.
> Use Step or Run to continue.
>
> This error happens when i'm inserting data. When i'm updating data,
> no error occur.
> This field (TB001_CODIGO_POSICAO) is a PkField on the Table.
>
> I have no idea what to do :/
>
> If you could help, i'd appreciate.

Starting point.
How is the field filled when you insert data?
Do you provide a value, or are you trying to use a generator?

If you are trying to use a generator, has the GeneratorLinks entry been
filled with
TB001_CODIGO_POSICAO=GENERATOR

As a backup, has a trigger been created for inserts that do not use the
IBO application ( that is not essential, but can be useful )

Obviously once there is a value in TB001_CODIGO_POSICAO then any updates
would be OK, but the error says it all :)

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services