access數(shù)據(jù)庫應(yīng)用教程 access,更新一個(gè)表里面的數(shù)據(jù)另一個(gè)表也同時(shí)更新,如何實(shí)現(xiàn)?
access,更新一個(gè)表里面的數(shù)據(jù)另一個(gè)表也同時(shí)更新,如何實(shí)現(xiàn)?在表單中添加按鈕,然后在按鈕單擊事件中編寫以下代碼:“首先添加3個(gè)字段當(dāng)前數(shù)據(jù)庫執(zhí)行“Alter table baddcolumn na
access,更新一個(gè)表里面的數(shù)據(jù)另一個(gè)表也同時(shí)更新,如何實(shí)現(xiàn)?
在表單中添加按鈕,然后在按鈕單擊事件中編寫以下代碼:
“首先添加3個(gè)字段當(dāng)前數(shù)據(jù)庫執(zhí)行“Alter table baddcolumn name text”當(dāng)前數(shù)據(jù)庫執(zhí)行“Alter table baddcolumn gender text”當(dāng)前數(shù)據(jù)庫執(zhí)行“Alter table baddcolumn education text”
“然后更新查詢當(dāng)前數(shù)據(jù)庫執(zhí)行“更新表”bleftjoin table AON“名稱B.ID編號(hào)Name A.,表集ID編號(hào)B.Name=[表A]
[姓名],表B.性別=表A]![性別],表B。資格=[表A]![學(xué)術(shù)