?? 素材.txt
字號:
string ls_shopname
startdate=date(sle_1.text)
enddate=date(sle_2.text)
if shopcode<>0 then
dw_1.retrieve(shopcode,startdate,enddate)
ls_shopname=ddlb_1.text
dw_1.Object.t_3.text=ls_shopname
dw_1.Object.t_4.text=string(startdate)
dw_1.Object.t_6.text=string(enddate)
else
dw_2.retrieve(startdate,enddate) // 處理匯總表 dw_2
dw_2.Object.t_4.text=string(startdate)
dw_2.Object.t_6.text=string(enddate)
end if
//=======================================================================
string str1
integer i,j //shopcode
long ll_row
//get shop code
if ddlb_1.text="總表:全部單位統計" then
dw_2.visible=true
dw_1.visible=false
shopcode=0
else
dw_2.visible=false
dw_1.visible=true
str1=ddlb_1.text(index)
j=ds_1.rowcount()
for i=1 to j
if str1=ds_1.getitemstring(i,2) then
shopcode=ds_1.getitemnumber(i,1)
exit
end if
next
end if
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -