● 物件command1(統計按鈕)的click事件
zl=sele sum(數量),sum(數量*單價) from book1 where 種類=zl into array a
參考解答:
● 物件command1(確定按鈕)的click事件
xh=alltrim(
mm=alltrim(
sele 姓名 from stulog where alltrim(學號)==xh and alltrim(密碼)==mm into cursor ls
if reccount()=0
"學號或密碼不對"
else
"歡迎"+alltrim(姓名)+"同學"
endif
參考解答:
● 物件command1(計算按鈕)的click事件
repl all 金額 with 單價*數量
● 物件check1(核取方塊)的click事件
ifelse
endif
參考解答:
● 設定物件combo1的屬性
######
rowsourcetype=」6-欄位」
rowsource=」teach1.教師號」
######
● 物件combo1的init事件
● 物件combo1的click事件
sele 系名 from ddm1,teach1 where ddm1.系號=teach1.系號 and 教師號= ;
into array sz
參考解答:
● 物件optiongroup1的click事件
sele sum(數量),sum(數量*單價) from book1 where 種類= into array sz
ifelse
endif
參考解答:
● 物件command1(生成表按鈕)的click事件
if sele 職員號,**g(金額) as 平均金額 from orders group by 職員號 ;
order by 平均金額 into table px_a
else
sele 職員號,**g(金額) as 平均金額 from orders group by 職員號 ;
order by 平均金額 desc into table px_b
endif
參考解答:
● 設定物件text1的value屬性為「=date()」
● 物件spinner1的upclick事件
● 物件spinner1的downclick事件
參考解答:
● 物件command1(按從小到大排列按鈕)的click事件
a=b=
if a>b
t=aa=bb=tendif
參考解答:
● 物件command1(計算按鈕)的click事件
x=if x<10
y=x/3
else
if x<20
y=2*x+1
else
y=3*x-10
endif
endif
參考解答:
● 物件command1(更新按鈕)的click事件
r=g=
b=if r=255 and g=0 and b=0
else
if r=0 and g=0 and b=255
else
endif
endif
參考解答:
● 物件command1(計算按鈕)的click事件
n=0 &&給個數n賦初值
s=0 &&給和s賦初值
在兩線條間完成其他語句
for i=0 to 100
if i%7=0
n=n+1
s=s+i
endif
endfor
參考解答:
● 物件command1(新增並計算按鈕)的click事件
s=l=str(len(s))
參考解答:
● 物件page1(天空頁)的click事件
● 物件page2(沙漠頁)的click事件
● 物件page3(雪原頁)的click事件
參考解答:
● 物件command1(統計按鈕)的click事件
if "sele 客戶號,count(訂單號) as 訂單數,sum(金額) as 總金額 ;
from orders group by 客戶號 into cursor ls"
endif
if "sele 職員號,count(訂單號) as 訂單數,sum(金額) as 總金額 ;
from orders group by 職員號 into cursor ls"
endif
參考解答:
● 物件command1(顯示按鈕)的click事件
bh="sele 姓名,成果名稱,成果類別 from rcda,cjda ;
where rcda.人才編號=cjda.人才編號 and rcda.人才編號=bh into cursor ls"
參考解答:
● 物件combo1的init事件
● 物件combo1的click事件
sele **g(基本工資) from ddm1,teach1 where ddm1.系號=teach1.系號 ;
and 系名= into array a
if ""
else
endif
參考解答:
● 物件command1(是否閏年按鈕)的click事件
y=year(
if (y%4=0 and y%100!=0) or y%400=0
"是閏年"
else
"不是閏年"
endif
參考解答:
● 物件command1(因子個數按鈕)的click事件
n=js=0
for i=1 to n-1
if n%i=0
js=js+1
endif
endfor
參考解答:
● 物件command1(數字字元個數按鈕)的click事件
s=alltrim(
n=len(s)
js=0
for i=1 to n
c=substr(s,i,1)
if c>="0" and c<="9"
js=js+1
endif
endfor
計算機考試
全國計算機技術與軟體專業技術資格 水平 考試2010年下半年資訊系統專案管理師下午試卷 ii 考試時間 15 20 17 20 共120分鐘 請按下表選答試題 試題號一 二 選擇方法選答 1 題 請按下述要求正確填寫答題紙 1.本試卷滿分75分。2.在答題紙的指定位置填寫你所在的省 自治區 直轄市 ...
計算機考試
第二單元實戰演練題 1 關於word下面哪句話對?a 資料庫管理軟體 b 電子資料 軟體 c 文字處理軟體 d 幻燈片製作軟體 2 單擊工具欄按鈕 可以儲存word檔案。a b c d 3 給word文件中某一自然段加邊框和底紋,可進行的操作是 a 選擇選單 格式 邊框和底紋 其中應用範圍為段落 b...
計算機考試
一 填空 1 計算機系統包括硬體系統和軟體系統兩大部分。cpu是計算機的核心部件 2 硬碟容量為80gb 85899345920b 3 將下表a列和b列合併成c列的操作 a2 b2 4 交換機的作用 是把網路中的各個終端 電腦 監控連在一起組成乙個區域網,統一進行資料傳輸的裝置。5 路由器的作用 是...