【正文】
bo1的interactivechange事件代碼:sele student=學(xué)號(hào)=姓名=班級=性別=出生日期mand1的click事件的代碼:a=MESSAGEBOX(確定修改?)if a=1 sele student b= c= d= e= replace 姓名 with b replace 性別 with d replace 出生日期 with e replace 班級 with c MESSAGEBOX(記錄修改成功!)Endifpage2中對象的事件設(shè)置:bo1的interactivechange事件代碼:sele course=課程代碼=課程名稱=類別=教師代碼mand1的click事件的代碼:a=MESSAGEBOX(確定修改?) if a=1 sele course b= c= d= replace 課程名稱 with b replace 類別 with c replace 教師代碼 with d MESSAGEBOX(記錄修改成功!) endifpage3中對象的事件設(shè)置:bo1的interactivechange事件代碼: sele score=學(xué)號(hào)=課程代碼=成績mand1的click事件的代碼:a=messagebox(確定修改?)if a=1 sele score b= c= replace 課程代碼 with b replace 成績 with c messagebox(記錄修改成功!)endif 5 參考文獻(xiàn) [1] 周玉萍,李麗蓉, FoxPro數(shù)據(jù)庫應(yīng)用教程[M]. 北京:人民郵電出版社,2008. [2] Visual FoxPro 程序