Voc� tem algumas op��es:

Use [ nError = SqlError ( hSql ) ], para pegar o c�digo do erro e depois
use [ bOk = SqlGetErrorText ( nError, strText ) ] ou [ strText =
SqlGetErrorTextX ( nError ) ] para pegar o texto.
Tamb�m tem no help a fun��o [ bOk = SqlGetError( hSql, nError,
strErrorString ) ] que diz que faz a mesma coisa que as outras duas juntas,
mas nunca a utilizei!

Espero ter ajudado.

Sds
Fabiano Reis
WestLB-Banco Europeu



                                                                                       
                       
                                                                                       
                       
                                                                                       
                       
          "Leonardo Leal Almeida" <[EMAIL PROTECTED]>                                
                       
                                                                                       
                       
          Sent by: [EMAIL PROTECTED]                                         
                       
                                                                                       
                       
                                                                                       
                       
          04/02/02 11:46                                                               
                       
                                                                                       
                       
                                                                                       
                       
          Please respond to sqlwin                                                     
                       
                                                                                       
                       
                                                                                       
                       
                                                                                       
                       
                                                                                       
                       


To:   <[EMAIL PROTECTED]>
cc:
Subject:                   [sqlwin] Comando Sql



No centura SqlGetLastStatement( ) me retorna o  ultimo comando
Sql executado e me ajuda no tratamento de erro On  SAM_SqlError
para mostrar o comando que deu erro na tela.

No Sql Windows n�o existe este  comando,
existe alguma coisa que poderia me retornar o  comando Sql
executado na hora de tratar o erro no On  SAM_SqlError

Antecipadamente agrade�o
Leonardo





********************************************************************
********************************************************************
Diese Nachricht ist vertraulich. Sie ist ausschliesslich fuer
den im Adressfeld ausgewiesenen Adressaten bestimmt.
Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten
wir um eine kurze Nachricht. Jede unbefugte Weiterleitung
oder Fertigung einer Kopie ist unzulaessig. Da wir nicht die
Echtheit oder Vollstaendigkeit der in dieser Nachricht
enthaltenen Informationen garantieren koennen, schliessen wir
die rechtliche Verbindlichkeit der vorstehenden Erklaerungen
und Aeusserungen aus. Wir verweisen in diesem Zusammenhang
auch auf die  fuer die Bank geltenden Regelungen ueber die
Verbindlichkeit von Willenserklaerungen mit verpflichtendem
Inhalt, die in den bankueblichen Unterschriftenverzeichnissen
bekannt gemacht werden.

This message is confidential and may be privileged. It is
intended solely for the named  addressee. If you are not the
intended recipient please inform us. Any unauthorised
dissemination, distribution or copying hereof is prohibited.
As we cannot guarantee the  genuineness or completeness of
the information contained in this message, the statements
set forth above are not legally binding. In connection
therewith, we also refer to the governing regulations of
WestLB concerning signatory authority published in the
standard bank signature lists with regard to the legally
binding effect of statements made with the intent to
obligate WestLB.
********************************************************************
********************************************************************

=============================================Lista de Centura SQLWindows
Administrador : [EMAIL PROTECTED]
[ http://www.centuraexplorer.com ]
Para sair desta lista mande mensagem para:
[EMAIL PROTECTED] sem nada no Subject e
com o comando a seguir no corpo da msg:
"unsubscribe sqlwin" (sem as aspas)
=============================================

Responder a