文件名称:123-errortrap
介绍说明--下载内容均来自于网络,请自行研究使用
本模块可以捕获所有的 PowerBuilder 错误,只要在“应用程序画板”的
“系统错误事件”中写入一行 :F_ERROR_TRAP(数据库事务名称) 或数据窗口的
“数据库错误事件”中加入一行 RETURN F_ERROR_TRAP(数据库事务名称) 。或在
scr ipt 的任何地方加入。当本函数捕获到一个错误后 ,会将所有的错误信息添
加到当前目录下的文本文件“err_info.txt”中,并弹出一个错误信息窗口。
可以打印错误信息或略过错误继续持行或关闭应用程序。-This module can capture all of the PowerBuilder error, as long as the " application drawing board" and " system error events" in the written line: F_ERROR_TRAP (name of database transactions) or the data window of the " database error event" by adding a line RETURN F_ERROR_TRAP (database transactions name). Or anywhere in the scr ipt join. When this function is to capture an error, all error messages will be added to the current directory text file " err_info.txt" in and pop up an error message window. You can print an error message or ignore the error to continue to hold the line or close the application.
“系统错误事件”中写入一行 :F_ERROR_TRAP(数据库事务名称) 或数据窗口的
“数据库错误事件”中加入一行 RETURN F_ERROR_TRAP(数据库事务名称) 。或在
scr ipt 的任何地方加入。当本函数捕获到一个错误后 ,会将所有的错误信息添
加到当前目录下的文本文件“err_info.txt”中,并弹出一个错误信息窗口。
可以打印错误信息或略过错误继续持行或关闭应用程序。-This module can capture all of the PowerBuilder error, as long as the " application drawing board" and " system error events" in the written line: F_ERROR_TRAP (name of database transactions) or the data window of the " database error event" by adding a line RETURN F_ERROR_TRAP (database transactions name). Or anywhere in the scr ipt join. When this function is to capture an error, all error messages will be added to the current directory text file " err_info.txt" in and pop up an error message window. You can print an error message or ignore the error to continue to hold the line or close the application.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
123-errortrap\error_trap.pbl
.............\error_trap 使用说明.txt
.............\pbcorner.txt
123-errortrap
.............\error_trap 使用说明.txt
.............\pbcorner.txt
123-errortrap