2011/8/9 Michael Van Canneyt <[email protected]>:
> It is not always possible to detect the required field.
> Delphi also very often does it wrong.  (for instance when you do a join)
>
> That is why sql-db relies on the ProviderOptions property : pfInkey should
> be set for the keyfield.
>
> This does not exclude that fcl-db should try harder to detect the key field,
> but you should be aware that it cannot always be detected reliably. (I
> always specify it manually)
>
> So leave the bug open. But try setting the pfInKey option
> whenever you can.
>
> Michael.

Thanks Michael,

After this explanation, I'll prefer inform the Required field manually.

-- 
Silvio Clécio
===============================================
Blog - <silvioprog.com.br>
Twitter - <twitter.com/silvioprog>
LazSolutions - <code.google.com/p/lazsolutions>
LazWebSolutions - <code.google.com/p/lazwebsolutions>
Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR>
===============================================
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===============================================

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to