sqlquery erro novamente
08/12/2005
0
TD.IsolationLevel := xilREADCOMMITTED;
SQLrelpac.Close;
SQLRELPAC.SQL.Clear;
SQLRELPAC.SQLConnection.StartTransaction(TD);
SQLRELPAC.SQL.Add(Format(´Update tabela Set mala = ¬s where nome = ¬s´,[QuotedStr(´S´), QuotedStr(Combobox1.Text)]));
SQLRELPAC.ExecSQL;
SQLRELPAC.SQLConnection.Commit(TD);
Combobox1.SetFocus;
agora esta dando
arithmetic exception numeric overflow, or string truncation
cannot transliterate charactere between
:cry:
Pereiramarcos
Posts
09/12/2005
Edilcimar
09/12/2005
Pereiramarcos
obrigado :(
09/12/2005
Pereiramarcos
como corrrijo isso :?:
09/12/2005
Pereiramarcos
como corrrijo isso :?:
09/12/2005
Bruno Belchior
09/12/2005
Pereiramarcos
SQLRELPAC.SQL.Add(Format(´Update tabela Set mala = ¬s where nome = ¬s collate frw_intl850 ´,[QuotedStr(´S´), QuotedStr(Combobox1.Text)]));
collate frw_intl850 , isso faz com que ele iguale as variaveis com ou sem acentos. so descobri pq voce disseram que estava no collate ae fui investigar e realmente era estudei no livro do firebird do Cantu e descobri como operar com callate.
obrigado :D
estou chegando
Clique aqui para fazer login e interagir na Comunidade :)