Lm th? no ? s? d?ng thi?t b? chuy?n m?ch d?ng l?nh trong Microsoft Access

D?ch tiu ? D?ch tiu ?
ID c?a bi: 209207 - Xem s?n ph?m m bi ny p d?ng vo.
M?t truy c?p 97 Phin b?n c?a bi vi?t ny, xem cc 105128.
V?a ph?i: ?i h?i v? m c b?n, m? ha, v kh? nng tng tc k? nng.

Bi vi?t ny p d?ng cho m?t c s? d? li?u Microsoft Access (.mdb) v ?n m?t Microsoft Access d? n (.adp).

Bung t?t c? | Thu g?n t?t c?

? Trang ny

TM T?T

Khi b?n ch?y Microsoft truy c?p t? cc B?t ?u tr?nh n ho?c m?t tr?nh n phm t?t, b?n c th? s? d?ng thi?t b? chuy?n m?ch d?ng l?nh ? S?a ?i ti?n tr?nh kh?i ?ng. V d?, b?n c th? m? m?t c s? d? li?u c? th?, ch?y m?t v? m, ho?c cung c?p m?t m?t kh?u.

THNG TIN THM

B?ng sau y li?t k Microsoft Access d?ng l?nh ty ch?n.
   Option       Effect                                    Applies to
   -----------------------------------------------------------------
   database     Opens the specified Microsoft Access      Access 
                database or Microsoft Access project.     database or 
                Include a path if necessary. If you are   Access 
                running Windows 95, the default path is   project
                your My Documents folder.	
                            
   /excl        Opens the specified Access database for   Access 
                exclusive access. To open the database    database 
                for shared access in a multiuser          only
                environment, omit this option. 
	
   /ro          Opens the specified Access database or    Access 
                Access project for read-only access.      database or 
                                                          Access 
                                                          project

   /user        Starts Access using the specified user    Access 
   user name    name.                                     database 
                                                          only

   /pwd         Starts Access using the specified         Access 
   password     password.                                 database 
                                                          only

   /profile     Starts Access using the options in the    Access 
   user         specified user profile instead of the     database or 
   profile      standard Microsoft Windows registry       Access 
                settings created when you installed       project
                Access. This replaces the /ini option  	
                used in versions of Access earlier   	
                than Access 97 to specify an   	
                initialization file.

   /compact     Compacts and repairs the Access           Access 
   target       database, or compacts the Access project, database or 
   database or  specified before the /compact option and  Access 
   target       then closes Access. If you omit a target  project
   Access       file name following the /compact option, 	
   project      the file is compacted to the original  	
                name and folder. To compact to a different  
                name, specify a target file. If you don't 	
                include a path in target database or target 	
                Access project, the target file is created  	
                in your My Documents folder by default. In 	
                an Access project, this option compacts 	
                the Access project (.adp) file but not the 	
                SQL Server database. 
	
   /repair      Repairs the Access database specified     Access 
                before the /repair option and then        database 
                closesAccess. In Access 2000, compact     only
                and repair functionality is combined  	
                under /compact. The /repair option is 	
                supported for backward compatibility. 
	
   /convert     Converts an Access database in an         Access 
   target       earlier version to an Access 2000         database 
   database     database with a new name and then closes  only
                Access. Specify the source database  	
                before using the /convert option. 	

   /x  macro    Starts Access and runs the specified      Access 
                macro. Another way to run a macro when    database or 
                you open a database is to use an          Access 
                AutoExec macro.                           project
                             
   /cmd         Specifies that what follows on the        Access 
                command line is the value that will be    database or 
                returned by the Command function. This    Access 
                option must be the last option on the     project
                command line. You can use a semicolon (;)	
                as an alternative to /cmd. 	

   /nostartup   Starts Access without displaying the      Access 
                startup dialog box (the second dialog     database or 
                box that you see when you start Access).  Access 
                                                          project

   /wrkgrp      Starts Access using the specified         Access 
   workgroup    workgroup information file.               database 
   information                                            only
   file

   /runtime     Starts Access in run-time mode.           Accesss 
                                                          database or 
                                                          Access 
                                                          project

Chu y

  • ? ch?y m?t Visual Basic cho cc ?ng d?ng th? t?c khi b?n m? m?t c s? d? li?u, s? d?ng hnh ?ng RunCode trong v? m AutoExec ho?c trong v? m b?n ch?y b?ng cch s? d?ng cc ty ch?n d?ng l?nh /x. B?n c?ng c th? ch?y m?t th? t?c Visual Basic khi b?n m? m?t c s? d? li?u b?ng cch t?o ra m?t h?nh th?c v?i m?t th? t?c Visual Basic ?c xc ?nh cho m?nh S? ki?n OnOpen. Ch? ?nh bi?u m?u ny nh l h?nh th?c kh?i ?ng b?ng cch nh?p chu?t ph?i cc C?a s? c s? d? li?u, b?m Kh?i ?ng, v sau nh?p m h?nh th?c trong cc Hi?n th? d?ng/trang h?p.
  • ? ch? ?nh m?t pha tr?c d?u g?ch cho (/) ho?c d?u ch?m ph?y (;) vo cc command line, g? cc k? t? hai l?n. V d?, ? ch? r? m?t kh?u; mjs/md trn d?ng l?nh, g?;;mjs / / md sau cc /pwd ty ch?n d?ng l?nh.
  • V d?:

    B?n c th? g? l?nh sau trong cc Ch?y h?p tho?i ? m? m?t c s? d? li?u Access 2000 trong ch? ? ?c quy?n m ch?y v? m ?c ch? ?nh lc kh?i ?ng:
    "C:\Program files\microsoft Office\Office\msaccess.exe" "C:\Program files\microsoft Office\Office\samples\northwind.mdb" /Excl /X thm s?n ph?m
    ? m? m?t c s? d? li?u Access 2002 trong ch? ? ?c quy?n m ch?y cc v? m ?c ch? ?nh lc kh?i ?ng, g? l?nh sau y trong cc Ch?y h?p tho?i:
    "C:\Program files\microsoft Office\Office10\msaccess.exe" "C:\Program files\microsoft Office\Office10\samples\northwind.mdb" /Excl /X thm s?n ph?m
    Tng t?, n?u b?n mu?n m? m?t c s? d? li?u Access 2003 trong ch? ? ?c quy?n m ch?y v? m ?c ch? ?nh lc kh?i ?ng, g? nh sau l?nh trong cc Ch?y h?p tho?i:
    "C:\Program files\microsoft Office\Office11\msaccess.exe" "C:\Program files\microsoft Office\Office11\samples\northwind.mdb" /Excl /X thm s?n ph?m

THAM KH?O

? bi?t thm chi ti?t v? lm th? no ? kh?c ph?c nh?ng l?i khng h?p l? trang, nh?p vo s? bi vi?t sau ? xem bi vi?t trong c s? ki?n th?c Microsoft:
208488Lm th? no ? kh?c ph?c nh?ng l?i khng h?p l? trang trong Microsoft Access 2000
? bi?t thm chi ti?t v? cch s? d?ng ty ch?n /Pwd, nh?p vo s? bi vi?t sau ? xem cc bi vi?t trong c s? ki?n th?c Microsoft:
207891Khng th? s? d?ng ty ch?n /pwd v?i m?t kh?u b?o v? c s? d? li?u Access 2000
292302 Khng th? s? d?ng ty ch?n /pwd v?i m?t kh?u b?o v? c s? d? li?u Access 2002
Cho bi?t thm thng tin v? vi?c s? d?ng cc thi?t b? chuy?n m?ch trong khi t?o cc th?i gian ch?y th? chia gi, nh?p vo s? bi vi?t sau ? xem bi vi?t trong c s? ki?n th?c Microsoft:
236519Lm th? no ? vi?t macro v thi?t b? chuy?n m?ch cho cc phm t?t trong cc gi v tri?n khai Thu?t s?
Cho bi?t thm thng tin v? vi?c s? d?ng /convert chuy?n ?i, nh?p vo s? bi vi?t sau ? xem bi vi?t trong c s? ki?n th?c Microsoft:
319253Lm th? no ? s? d?ng d?ng l?nh chuy?n ?i /convert ? chuy?n ?i c s? d? li?u ch? vo ?nh d?ng file Access 2000
Cho bi?t thm thng tin v? v?n ? trong khi m? quy?n truy c?p c s? d? li?u b?ng cch s? d?ng m?t c?u h?nh ty ch?nh, nh?p vo s? bi vi?t sau ? xem bi vi?t trong c s? ki?n th?c Microsoft:
266769L?i b?t ?u Microsoft Access 2000 v?i ty ch?nh h? s
? bi?t thm chi ti?t v? thi?t b? chuy?n m?ch d?ng l?nh, nh?p vo Tr? gip Microsoft Access trn cc Tr giup tr?nh n, lo?i kh?i ?ng l?nh ty ch?n trong tr? l? vn ph?ng ho?c thu?t s? tr? l?i, v sau b?m Tim kim ? xem cc ch? ? tr? l?i.

Thu?c tnh

ID c?a bi: 209207 - L?n xem xt sau cng: 20 Thang Tam 2011 - Xem xt l?i: 2.0
p d?ng
  • Microsoft Office Access 2003
  • Microsoft Access 2002 Standard Edition
  • Microsoft Access 2000 Standard Edition
T? kha:
kbstartprogram kbopenfile kbhowto kbinfo kbui kbmt KB209207 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny:209207

Cung cp Phan hi

 

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