05-通信录管理系统 查询设计(三)PowerBuilder数据库程序设计(曹玉茹版).pptVIP

  • 1
  • 0
  • 约3.41千字
  • 约 22页
  • 2019-09-07 发布于湖北
  • 举报

05-通信录管理系统 查询设计(三)PowerBuilder数据库程序设计(曹玉茹版).ppt

《PowerBuilder数据库程序设计》 ——2010年上海市教委重点课程 商务信息学院计算机教学部 第五讲 通信录管理系统 查询设计(三) 函数 keydown(Enter!)的使用 函数MessageBox的使用 Retrieve函数查询 姓名精确查询 姓名模糊查询 生日范围查询 上节回顾 函数 keydown(KeyEnter!)的使用 Sle_1控件modify事件中的代码 if keydown(KeyEnter!) then cb_1.TriggerEvent(clicked!) End if 上节回顾 函数MessageBox的使用 函数 messageBox()格式 “精确查询”按钮中的代码: MessageBox ( title, text {, icon {, button {, default } } } ) if sle_1.text= then messageBox(信息提示,请输入要查询的内容!!!) return else if dw_1.retrieve(sle_1.text)=0 then messageBox(信息提示,没有查到内容!) end if end if 上节回顾 姓名精确查询——Retrieve Dw_1.setTransObjec

文档评论(0)

1亿VIP精品文档

相关文档