错误:application terminated
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了错误:application terminated相关的知识,希望对你有一定的参考价值。
error:invalid datawindow row/column specified at line 62 in clicked event of abject cb_1 of w_invoicefetch_add
代码是这样写的:
datetime ls_time
string ls_start,ls_end
int ils_start,ils_end,is_id,i
ls_time=dw_1.getitemdatetime(1,"invoicetch_time")
ls_start =dw_1.getitemstring(1,"invoicetch_start")
ls_end =dw_1.getitemstring(1,"invoicetch_end")
select max(invoice_id) into :is_id from invoice;
ils_start=integer(dw_1.getitemstring(1,"invoicetch_start"))
ils_end=integer(dw_1.getitemstring(1,"invoicetch_end"))
if ils_start>is_id then
for i=ils_start to ils_end
insert into invoice(invoice_id,invoice_fetchtime,invoice_estate)
values(:i,:ls_time,'未使用')
using sqlca;
if sqlca.sqlcode <> 0 then
messagebox("提示信息","取得客户信息失败!")
return
end if
next
END IF
if dw_1.update() = 1 then
commit;
messagebox("提示","保存成功!")
w_invoicefetch.dw_1.retrieve()
close(parent)
else
rollback;
messagebox("提示信息","提交数据失败!")
end if
postgresql 53300错误
1、查看当前库的最大连接数
show max_connections;
2、查看当前数据库的活动连接数
select datname,application_name,pid,state from pg_stat_activity;
3、杀非活动进程
select pg_terminate_backend(pid);
4、修改数据库的最大连接数
~$PGDATA/data/postgres.conf -->max_connections -->重启数据库
以上是关于错误:application terminated的主要内容,如果未能解决你的问题,请参考以下文章
已解决M1 Android studio Cannot open Local Terminal
已解决M1 Android studio Cannot open Local Terminal