请教pb高人几个问题
pb吧
全部回复
仅看楼主
level 1
1.在PB中实现sharedate的前提是什么?2.在DW中Crosstab适合于生成什么报表?3.dw_1.update(true,false)中两个参数true,false代表什么意义?4.在pb中,下列语句是否正确,如有错误请指出String Is_s_name='WQ'Update studentSet class=2where name=Is_s_name using mysqlcaif mysqlca.sqlcode<>then Messagebox('ERROR',mysqlca.sqlerrtext) Rollback;Else Messagebox('NONIFY','UPDATA SUCCESS') Commit;End if
2006年08月14日 11点08分 1
level 0
1) 2个DW的对象的SQL语句一致。2) 交叉表适合表示横向报表,比如数据是这样:a 50 张b 60 王a 70 王b 80 张用交叉表显示为: 张 王a 50 70b 60 803) 第1个是accept(optional)A boolean value specifying whether the DataWindow control or DataStore should automatically perform an AcceptText prior to performing the update:?TRUE - (Default) Perform AcceptText. The update is canceled if the data fails validation.?FALSE - Do not perform AcceptText.第2个是resetflag (optional)A boolean value specifying whether dwcontrol should automatically reset the update flags:?TRUE - (Default) Reset the flags.?FALSE - Do not reset the flags.4)细节地方有点问题String Is_s_name='WQ' Update student Set class=2 where name = :Is_s_name using mysqlca; if mysqlca.sqlcode<>0 then Messagebox('ERROR',mysqlca.sqlerrtext) Rollback; Else Messagebox('NONIFY','UPDATA SUCCESS') Commit; End if
2006年08月14日 14点08分 2
level 0
多谢楼上的
2006年08月15日 11点08分 3
level 0
2楼的有联系方式没有呢,想和你交朋友呀!
2006年08月30日 02点08分 4
level 0
我是2楼,QQ672231
2006年08月31日 02点08分 5
1