Home > database >  12 why the UPDATE SQL ANYWHERE UPDATE failure
12 why the UPDATE SQL ANYWHERE UPDATE failure

Time:10-13

I made a small program, execution on the development of no problem, copy to the other machine can, some can not run normally,
The UPDATE "lvke
"SET "name=" : ls_mc;
Release ASA12 program files

CodePudding user response:

May be ls_mc variable content is too long

CodePudding user response:

It is to use the default global transaction object sqlca
Set the sqlca. The autocommit=false

String ls_err
If the sqlca. Sqlcode<> 0 then
Ls_err=sqlca. Sqlerrtext
The rollback using sqlca;
Messagebox (' err, ls_err)
End the if

Can see the error message
  • Related