Fórum Erro ao Salvar Arquivo #331260
16/10/2006
0
essa é a rotina:
with DM1 do begin try with Convenio do begin Edit; Post; ApplyUpdates; end; IBT1.CommitRetaining; Self.Fechar := True; Self.Close; except on Ex : EAbort do begin end; on Ex : Exception do begin if contemString(´"PK_CONVENIO"´,Ex.Message,False) then begin MessageDlg(´Código de cliente já cadastrado!´, mtError, [mbOK], 0); end else begin MessageDlg(´Não foi possível completar a operação! ´ + Ex.Message, mtError, [mbOK], 0); end; end; end; end; end; esse é o erro Dynamic SQL error SQL error code = - 104 Token unknown-line2, char-1 from
como q eu resolve essa bagaceira m ajuda ai pessoal
[/code]
Tchucky
Curtir tópico
+ 0Posts
17/10/2006
Tnaires
Teu SQL tem algum erro perto da cláusula FROM
Abraços
Gostei + 0
17/10/2006
Tchucky
Gostei + 0
17/10/2006
Steve_narancic
Gostei + 0
17/10/2006
Steve_narancic
Gostei + 0
17/10/2006
Tchucky
Gostei + 0
17/10/2006
Tnaires
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)