Làm th? nào ð? s? d?ng thi?t b? chuy?n m?ch d?ng l?nh trong Microsoft Access

ID c?a bài: 209207 - Xem s?n ph?m mà bài này áp d?ng vào.
M?t truy c?p 97 Phiên b?n c?a bài vi?t này, xem các 105128.
V?a ph?i: Ð?i h?i v? mô cõ b?n, m? hóa, và kh? nãng týõng tác k? nãng.

Bài vi?t này á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 này

TÓM T?T

Khi b?n ch?y Microsoft truy c?p t? các B?t ð?u tr?nh ðõn ho?c m?t tr?nh ðõn phím 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.

THÔNG TIN THÊM

B?ng sau ðây li?t kê Microsoft Access d?ng l?nh tùy 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 các ?ng d?ng th? t?c khi b?n m? m?t cõ s? d? li?u, s? d?ng hành ð?ng RunCode trong v? mô AutoExec ho?c trong v? mô b?n ch?y b?ng cách s? d?ng các tùy 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 cách t?o ra m?t h?nh th?c v?i m?t th? t?c Visual Basic ðý?c xác ð?nh cho m?nh S? ki?n OnOpen. Ch? ð?nh bi?u m?u này nhý là h?nh th?c kh?i ð?ng b?ng cách nh?p chu?t ph?i các C?a s? cõ s? d? li?u, b?m Kh?i ð?ng, và sau ðó nh?p mà h?nh th?c trong các Hi?n th? d?ng/trang h?p.
  • Ð? ch? ð?nh m?t phía trý?c d?u g?ch chéo (/) ho?c d?u ch?m ph?y (;) vào các command line, g? các k? t? hai l?n. Ví d?, ð? ch? r? m?t kh?u; mjs/md trên d?ng l?nh, g?;;mjs / / md sau các /pwd tùy ch?n d?ng l?nh.
  • Ví d?:

    B?n có th? g? l?nh sau trong các 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 lúc kh?i ð?ng:
    "C:\Program files\microsoft Office\Office\msaccess.exe" "C:\Program files\microsoft Office\Office\samples\northwind.mdb" /Excl /X thêm s?n ph?m
    Ð? m? m?t cõ s? d? li?u Access 2002 trong ch? ð? ð?c quy?n mà ch?y các v? mô ðý?c ch? ð?nh lúc kh?i ð?ng, g? l?nh sau ðây trong các 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 thêm s?n ph?m
    Týõng 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 lúc kh?i ð?ng, g? nhý sau l?nh trong các 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 thêm s?n ph?m

THAM KH?O

Ð? bi?t thêm chi ti?t v? làm th? nào ð? kh?c ph?c nh?ng l?i không h?p l? trang, nh?p vào s? bài vi?t sau ð? xem bài vi?t trong cõ s? ki?n th?c Microsoft:
208488Làm th? nào ð? kh?c ph?c nh?ng l?i không h?p l? trang trong Microsoft Access 2000
Ð? bi?t thêm chi ti?t v? cách s? d?ng tùy ch?n /Pwd, nh?p vào s? bài vi?t sau ð? xem các bài vi?t trong cõ s? ki?n th?c Microsoft:
207891Không th? s? d?ng tùy ch?n /pwd v?i m?t kh?u b?o v? cõ s? d? li?u Access 2000
292302 Không th? s? d?ng tùy ch?n /pwd v?i m?t kh?u b?o v? cõ s? d? li?u Access 2002
Cho bi?t thêm thông tin v? vi?c s? d?ng các thi?t b? chuy?n m?ch trong khi t?o các th?i gian ch?y th? chia gói, nh?p vào s? bài vi?t sau ð? xem bài vi?t trong cõ s? ki?n th?c Microsoft:
236519Làm th? nào ð? vi?t macro và thi?t b? chuy?n m?ch cho các phím t?t trong các gói và tri?n khai Thu?t s?
Cho bi?t thêm thông tin v? vi?c s? d?ng /convert chuy?n ð?i, nh?p vào s? bài vi?t sau ð? xem bài vi?t trong cõ s? ki?n th?c Microsoft:
319253Làm th? nào ð? s? d?ng d?ng l?nh chuy?n ð?i /convert ð? chuy?n ð?i cõ s? d? li?u ch? vào ð?nh d?ng file Access 2000
Cho bi?t thêm thông tin v? v?n ð? trong khi m? quy?n truy c?p cõ s? d? li?u b?ng cách s? d?ng m?t c?u h?nh tùy ch?nh, nh?p vào s? bài vi?t sau ð? xem bài vi?t trong cõ s? ki?n th?c Microsoft:
266769L?i b?t ð?u Microsoft Access 2000 v?i tùy ch?nh h? sõ
Ð? bi?t thêm chi ti?t v? thi?t b? chuy?n m?ch d?ng l?nh, nh?p vào Tr? giúp Microsoft Access trên các Trõò giuìp tr?nh ðõn, lo?i kh?i ð?ng l?nh tùy ch?n trong tr? l? vãn ph?ng ho?c thu?t s? tr? l?i, và sau ðó b?m TiÌm kiêìm ð? xem các ch? ð? tr? l?i.

Thu?c tính

ID c?a bài: 209207 - L?n xem xét sau cùng: 20 Thaìng Taìm 2011 - Xem xét l?i: 2.0
Áp d?ng
  • Microsoft Office Access 2003
  • Microsoft Access 2002 Standard Edition
  • Microsoft Access 2000 Standard Edition
T? khóa: 
kbstartprogram kbopenfile kbhowto kbinfo kbui kbmt KB209207 KbMtvi
Máy d?ch
QUAN TROòNG: Bài vi?t này ðý?c d?ch b?ng ph?n m?m d?ch máy c?a Microsoft ch? không ph?i do con ngý?i d?ch. Microsoft cung c?p các bài vi?t do con ngý?i d?ch và c? các bài vi?t do máy d?ch ð? b?n có th? truy c?p vào t?t c? các bài vi?t trong Cõ s? Ki?n th?c c?a chúng tôi b?ng ngôn ng? c?a b?n. Tuy nhiên, bài vi?t do máy d?ch không ph?i lúc nào c?ng hoàn h?o. Lo?i bài vi?t này có th? ch?a các sai sót v? t? v?ng, cú pháp ho?c ng? pháp, gi?ng nhý m?t ngý?i ný?c ngoài có th? m?c sai sót khi nói ngôn ng? c?a b?n. Microsoft không ch?u trách nhi?m v? b?t k? s? thi?u chính xác, sai sót ho?c thi?t h?i nào do vi?c d?ch sai n?i dung ho?c do ho?t ð?ng s? d?ng c?a khách hàng gây ra. Microsoft c?ng thý?ng xuyên c?p nh?t ph?n m?m d?ch máy này.
Nh?p chu?t vào ðây ð? xem b?n ti?ng Anh c?a bài vi?t này:209207

Cung câìp PhaÒn hôÌi