140. Access an Existing DatabaseBEFORE YOU BEGIN Just jump right in! SEE ALSO 135 Create a Database You can use any database within Base or any other OpenOffice.org component if that database is registered as a data source . Typically, when you create a database in Base, you register it so that it can be used as a data source by any OpenOffice.org component (see 135 Create a Database ). But what about databases that were created using some other program such as Calc, Microsoft Excel, Microsoft Access, or Thunderbird (an email program with an address database)? In this task, you'll learn how to register such a database so that you can use it whenever you want, throughout OpenOffice.org. For example, you can use a registered database in Base or in a Writer Mail Merge operation, or you can copy its data into a Calc spreadsheet. After creating a database in Base, do not follow these steps to open it again for editing. Instead, open an existing Base database from any OpenOffice.org component (and start Base at the same time) by choosing File, Open or by clicking the Open button. If you're not running OpenOffice.org right now, you can open an existing Base database by double-clicking the database file in Windows Explorer. 140. Access an Existing Database NOTES If you start Base from the Start menu, you'll have only two options, as you'll learn in this task: to create a new database, or to register and edit a database created in some other application such as dBASE or Microsoft Access. To use a database created in Calc (as explained in 76 Create a Calc Database ) within another OpenOffice.org component such as Base or Writer, you'll need to register it by following the steps given in this task. After registering a foreign database (such as a Microsoft Access database) and converting it to Openoffice.org format, you can remove the original version from your system if you decide you don't need it. Choose Tools, Options, OpenOffice.org, Databases. Select the database to remove and click Delete.
NOTES If you must enter a password to access a data source, you'll be prompted for it when you click the plus sign in front of that data source to view its contents. After a table is displayed, you can drag and drop a single row, column, or all the data into the OpenOffice.org component you are currently using (Calc, Writer, or Impress). You can also drag information from a component file (such as a Calc spreadsheet) into a Base database file. To edit a data source in Base, right-click the source and choose Edit Database File from the context menu. |