PB中如何截获datawindow error 信息?

yugx 2000-08-17 01:12:00
1。我在编程序时,若输入参数的类型与datawindow 的所需输入参数的类型不一致,在RETRIEVE时则出现PB本身的datawindow error 对话框,现在我不想让该对话框显示,想截获该对话框中的信息自己显示,我在APPLICATION 的SYSTEMERROR 及DW_1的DBERROR ERROR ITEMERROR事件中加上监测信息均未起作用,请教各位高手啦。
2。 请问如何获得DATAWINDOW 的输入参数个数及类型
...全文
461 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
bibibi 2000-08-21
  • 打赏
  • 举报
回复
在datawindow的dberror/itemerror事件中写
messagebox(......)
return 1
linlin 2000-08-20
  • 打赏
  • 举报
回复
DBERROR ERROR ITEMERROR事件中处理完错误后,加上

return 1
wolcy 2000-08-17
  • 打赏
  • 举报
回复
在监控信息后加一句
return 1
wcp 2000-08-17
  • 打赏
  • 举报
回复
我不明白你为什么要通过程序去获得DATAWINDOW 的输入参数个数及类型?
运行效果 http://hi.csdn.net/attachment/201012/9/0_1291865794j998.gif ************************************************************************* PowerBuilder Foundation Class Library Version 9.0 R E L E A S E N O T E S Copyright ?1996-2003 Sybase, Inc. and its subsidiaries. All rights reserved. ************************************************************************* Last Updated: January 17, 2003 ************************************************************************* Please take a few minutes to review this file for fixes that were made in PowerBuilder 8.0.2 and 9.0. ************************************************************************* BUG FIXES IN PFC 9.0 ************************************************************************* CR300376 Object: pfc_n_cst_fileSrv, pfc_n_cst_fileSrvwin32 Method: OfGetDiskSpace Fix: Method returned a negative number when the calculated amount of free disk space exceeded 2 gigabytes. Added new method of_GetDiskSpaceEx that takes decimals as arguments instead of longs. of_GetDiskSpace will be obsolete in a future release. ************************************************************************* BUG FIXES IN PFC 8.0.2 ************************************************************************* PFC.PBR CR256529 Fix: The PFC.PBR file can be used to copy bitmaps and dynamically referenced DataWindow objects into the executable file for deployment. The following bitmap files that were removed from PFC have now been removed from the PFC.PBR file: details.bmp, helptop.bmp, largeico.bmp, listv.bmp, and smallico.bmp. ======================================================== PFC DataStore CR261992 Object: pfc_u_ds Method: pfc_print/pfc_printdlg Fix: Changed the return code test to check for 1 on success, otherwise there is an error or the user cancelled. Fix: Set the

609

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder DataWindow
社区管理员
  • DataWindow社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧