Board index » delphi » How to know the Table name after an EDBEngineError

How to know the Table name after an EDBEngineError

Hello,
How to know the Table name after an EDBEngineError in processing the
exception?
Thanks
J-F
--
--
* Jean-Francois PEtit      E-mail : Jean-Francois.Pe...@if.insa-lyon.fr
*                 I.N.S.A. LYON   Departement Informatique
*    L3I   Laboratoire d'Ingenierie de l'Informatique Industrielle
* Bat. 502 20, avenue Albert Einstein   Tel/Phone : (33/0)4 72 43 83 75
* F-69621 VILLEURBANNE CEDEX  FRANCE    Fax : (33/0)4 72 43 85 18
 

Re:How to know the Table name after an EDBEngineError


There is no way to get it from the exception, but since you put the
try...except around some database action you can retreive the information
from the dataset component you used.

"Jean-Fran?ois PETIT" <Jean-Francois.Pe...@if.insa-lyon.fr> schreef in
bericht news:01c01892$c3fe7920$c668d686@if-petit.insa-lyon.fr...

Quote
> Hello,
> How to know the Table name after an EDBEngineError in processing the
> exception?
> Thanks
> J-F
> --
> --
> * Jean-Francois PEtit      E-mail : Jean-Francois.Pe...@if.insa-lyon.fr
> *                 I.N.S.A. LYON   Departement Informatique
> *    L3I   Laboratoire d'Ingenierie de l'Informatique Industrielle
> * Bat. 502 20, avenue Albert Einstein   Tel/Phone : (33/0)4 72 43 83 75
> * F-69621 VILLEURBANNE CEDEX  FRANCE    Fax : (33/0)4 72 43 85 18

Other Threads