The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills. This article applies only to a Microsoft Access project (.adp). SUMMARYIn a Microsoft Access 2000 project, you can administer SQL Server replication, SQL Server security, and back up your SQL Server database through the user interface. This article discusses how to programmatically start the dialog boxes you need to carry out this work. MORE INFORMATION
Use the CommandBars collection of the Application object to select and start any dialog boxes that you want.
To open the SQL Server Security tools, use the following sample code:
To prompt the user to backup a SQL Server or MSDE database, use the following sample code:
REFERENCESFor more information about command bars, in the Visual Basic Editor, click
Microsoft Visual Basic Help on the Help menu, type "CommandBars property" in
the Office Assistant or the Answer Wizard, and then click Search to
view the topic. Additional query words: inf
Keywords : kbdta AccessCS |
Last Reviewed: June 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |