????? ??? ????? ?????? ????? ????? ???? ???? ??????? ?? Access 2000

?????? ????????? ?????? ?????????
???? ???????: 235422 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

???????? ??????? OpenCurrentDatabase ????? ??? ????? ?????? Microsoft Access ?? ????? ?????? Microsoft Access ???????. ??? ???? ?? ???? ????? OpenCurrentDatabase ????? ?????? ???? ???? ?????? ?????? ????? ????? ????. ????? ??? ?????? ???????? ???????? ????? ???? ???? ????? ???????? ?? ???? ???? ?????.

???? ??? ??????? ????? ??? ????? ?????? ????? ????? ???? ?? Microsoft Access ??????? ????? ???????? ??? ???? ????????.

?????? ?????? ??? ???????? (DAO) ???? ?? ????? ???? ???? ????? ?????? ??? ??? ????? ?????? ????? ????? ????. ???????? ??????? DBEngine ???? Microsoft Access ?????? ????????? ???????? ?? ?????? ??????? DAO ?????? ???? ???? ????? ????????. ??? ?? ?? ?????? ?? ??? ???? ???? ????? ???????? ?????? ???? ????? ?????? Microsoft Jet ? ????? ??????? ??????? OpenCurrentDatabase ???? ????? ???????? ?? ????? ?????? Microsoft Access ??? ???? ????????.

???? ???? ?????

?????: ??? ???? ??????? ???????? ?? ??? ??????, ????? ????? ????? ????? ???????? Northwind.mdb. ?? ???? ?? ???? ???????? ?? ??? Northwind.mdb ?? ???? ??????? ??????? ??? ???? ?? ????? ????????.

  1. ??? ????? Microsoft Access 2000.
  2. ??? ????? ?????? ????? Northwind.mdb ????????? ?????. ???? ????? ???????? ????????? ????? ???? ??? Northwind.mdb ?? ???? ?????? ??? ???? ??? ????? ??????? ????? ???? ??? ?? ???? ??? ??? ???.
  3. ?? ??????? ?????? ??? ??? ???? ? ?? ???? ??? ????? ???? ???? ????? ????????.
  4. ???? nwind ?? ???????? ?????????? ?? ???? ??? ?????.
  5. ????? ????? ????? ???????? Northwind.mdb.
  6. ???? ????? ????? ???????? Northwind.mdb ???? ?? ???? ???? ?????? ???? ????? ????????.
  7. ???? ??? "????? ?????" ???? ??? ????? ????????.
  8. ????? ????? ?????? ???? ?????.
  9. ???? ???? ????? ????? ?? ????? ????? "?????".
  10. ?? ??????? ????? ? ???? "?????".
  11. ????? ???? ??? ????? ?????? Microsoft DAO 3.6 ?? ???? ??? ????? ?????? ???? ?????? ?????.
  12. ?? ?????? ????????? ???????? ??????? ??? ?????? ???????:
    Option Compare Database
    Option Explicit
    
    Sub OpenPasswordProtectedDB()
    
       'Define as Static so the instance of Access
       'doesn't close when the procedure ends.
       Static acc As Access.Application
       Dim db As DAO.Database
       Dim strDbName As String
       strDbName = "C:\Program Files\Microsoft Office\Office\Samples\Northwind.mdb"
       Set acc = New Access.Application
       acc.Visible = True
       Set db = acc.DBEngine.OpenDatabase(strDbName, False, False, ";PWD=nwind")
       acc.OpenCurrentDatabase strDbName
       db.Close
       Set db = Nothing
    End Sub
    					
  13. ?????? ??????? ?????? OpenPasswordProtectedDB ?? ?????? ??????.
???? ??? ??? ??? ????? ???????? Northwind ?? ???? ???? ?? Microsoft Access ??? ???????? ????? ??????.

??? ???, ?? ????? ??? ????? ???? ???? ????? ???????? ?? ????? ????? ???????? Northwind.mdb. ?????? ????? ???? ??????? ???????:
  1. ??? ????? Microsoft Access 2000.
  2. ??? ????? ?????? ????? Northwind.mdb ????????? ?????. ???? ????? ???????? ????????? ????? ???? ??? Northwind.mdb ?? ???? ?????? ??? ???? ??? ????? ??????? ????? ???? ??? ?? ???? ??? ??? ???.
  3. ??? ???????? ???? ???? ????? ???????? ???? nwind ?? ???? ??? ?????.
  4. ?? ??????? ?????? ??? ??? ???? ? ?? ???? ??? ????? ????? ???? ???? ????? ??????.
  5. ??? ???????? ???? ???? ????? ???????? ???? nwind ?? ???? ??? ?????.
  6. ?? ?????? ????? ????????.
????? ???? ???? ????? ????????.




?????

?????? ??? ??????? ?????? ??? ??? ????? ?????? ????? ???? ???? ?? DAO ???? ??? ??? ??????? ????? ?????? ?? "????? ??????? ?? Microsoft:
209953ACC2000: ????? ??????? ????? OpenDatabase ??? ??? ????? ?????? ?????? ???? ????









???????

???? ???????: 235422 - ????? ??? ??????: 11/????? ???????/1425 - ??????: 3.0
????? ???
  • Microsoft Access 2000 Standard Edition
????? ??????: 
kbmt kbautomation kbprogramming kbhowtomaster KB235422 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????235422

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com