(VF课本第6章节答案.docVIP

  • 11
  • 0
  • 约5.89千字
  • 约 6页
  • 2017-01-28 发布于北京
  • 举报
(VF课本第6章节答案

.3.5 程序设计题 1.“计算”按钮的Click事件代码如下: thisform.text3.value=thisform.text1.value*thisform.text2.value 2.“平均数”按钮的Click事件代码如下: thisform.text3.value=(val(thisform.text1.value)+val(thisform.text2.value))/2 表单的DblClick事件代码如下: thisform.release 3.命令按钮“交换”的“click”事件代码如下: Store thisform.text1.value to t thisform.text1.value=thisform.text2.value thisform.text2.value=t 4.c=val(thisform.text1.value) f=9/5*c+32 thisform.label3.caption=str(f,10,2) 6.3.3用SQL语句完成下列操作 1、(1)SELECT 职工号,工资 FROM 仓库表,职工表; WHERE 仓库表.仓库号=职工表.仓库号 AND 仓库表.所在城市=广州  (2)SELECT 仓库号,COUNT(*),AVG(工资)FROM 职工表 GROUP BY 仓库号 HAVING COUNT(*)=2

文档评论(0)

1亿VIP精品文档

相关文档