office交流網(wǎng)--QQ交流群號及微信交流群

Access培訓(xùn)群:792054000         Excel免費(fèi)交流群群:686050929          Outlook交流群:221378704    

Word交流群:218156588             PPT交流群:324131555

微信交流群(請用微信掃碼)

        

RunCommand動(dòng)畵集-acCmdCloseDatabase 關(guān)閉當(dāng)前數(shù)據(jù)庫

2019-04-13 15:16:00
tmtony8
原創(chuàng)
5000

我們可以關(guān)閉Access中的任何對象(窗體,報(bào)錶,查詢,宏,數(shù)據(jù)錶),也可以關(guān)閉整箇Access應(yīng)用程序(Quit)。

當(dāng)然也可以關(guān)閉當(dāng)前數(shù)據(jù)庫,打開另外的數(shù)據(jù)庫。


通過RuncommandacCmdcloseDatabase蔘數(shù)關(guān)閉當(dāng)前打開的數(shù)據(jù)庫

DoCmd.RunCommand acCmdCloseDatabase



當(dāng)前數(shù)據(jù)庫關(guān)閉後,可以在 文件=》打開  重新打開需要的數(shù)據(jù)庫

    分享
    文章分類
    聯(lián)繫我們
    聯(lián)繫人: 王先生
    Email: 18449932@qq.com
    QQ: 18449932
    微博: officecn01
    移動(dòng)訪問