Tổng quan SQL_ Exporting Data
Số trang: 4
Loại file: pdf
Dung lượng: 73.87 KB
Lượt xem: 15
Lượt tải: 0
Xem trước 2 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
You can find information about exporting data from Microsoft Access to various Web formats in Part 6, “Linking Access and the Web. ” This article provides details about exporting data to other Access databases and other file types. You can export (copy) any object in an Access database to any other Access database. You can also export data from Access tables to spreadsheet files, other databases, text files, Microsoft Word mail merge documents, and SQL tables.
Nội dung trích xuất từ tài liệu:
Tổng quan SQL_ Exporting Data Part 9: Articles Article 2Exporting Data Exporting to Another Access Exporting to a Text File. . . . . . . . . . . . . A46 Database . . . . . . . . . . . . . . . . . . . . . . . A45 Exporting to a Mail Merge Document Exporting to a Spreadsheet or to a in Microsoft Word . . . . . . . . . . . . . . . . . A47 dBASE or Paradox File . . . . . . . . . . . . . A46 Exporting to an SQL Table . . . . . . . . . . . A47 Quick Export to Microsoft Excel . . . . . . A46 You can find information about exporting data from Microsoft Access to various Web formats in Part 6, “Linking Access and the Web.” This article provides details about exporting data to other Access databases and other file types. You can export (copy) any object in an Access database to any other Access database. You can also export data from Access tables to spreadsheet files, other databases, text files, Microsoft Word mail merge documents, and SQL tables.Exporting to Another Access Database Exporting objects from one Access database to another works much like importing Access objects. (See Chapter 6, “Importing and Linking Data.”) To export any object from one Access database to another Access database, do the following: 1 Open the Access database from which you want to export an object. If that database is already open, switch to the Database window. 2 Select the object you want to export in the Database window, and then choose the Export command from the File menu. Access opens an Export To dialog box in which you can select the folder and the name of the Access desktop database (.mdb) or project file (.adp) to which you want to export the object. (You can export queries in an Access project only to another project file.) After you make these selections, click Save. 3 Next, Access opens the Export dialog box. Use the Export dialog box to specify a name for the object in the target database. You can keep the name that Access suggests, or you can change it to make it more appropriate to the target database. Note that if you’re exporting a table, you can choose to export both the table definition and the data or the definition only. Click OK to export the object. 4 If the export name you type in already exists in the target database, Access warns you and asks whether you want to replace the existing object. Click Yes to proceed, or click No to stop the export procedure. If the export procedure is successful, you’ll find a new object in the target database. Because objects can refer to other objects by name within an Access database, you should carefully check name references in the target database. A45 Part 8: AppendixesPart 9: Articles Microsoft Office Access 2003 Inside Out Exporting to a Spreadsheet or to a dBASEChapter B or Paradox File Use the following procedure to export data from a table, a select query, or a crosstab query to a spreadsheet (Microsoft Excel or Lotus 1-2-3) or to a different database file format (dBASE or Paradox). 1 Open the Access database from which you want to export an object. If that database is already open, switch to the Database window. 2 Select the table or query you want to export in the Database window, and then chooseArticle 2 the Export command from the File menu. Access opens the Export To dialog box, from which you can select the file type, folder, and name of the file to which you want to export the selected object. After you make these selections, click Save. 3 If the export procedure is successful, you’ll find a new file that you can use with your spreadsheet application or with another database program. Tip Access truncates long field names when it exports data to dBASE or Paradox files.Article 2 If this results in a duplicate field name, Access will not export your data. To correct this problem, make a temporary copy of your table, edit the field names ...
Nội dung trích xuất từ tài liệu:
Tổng quan SQL_ Exporting Data Part 9: Articles Article 2Exporting Data Exporting to Another Access Exporting to a Text File. . . . . . . . . . . . . A46 Database . . . . . . . . . . . . . . . . . . . . . . . A45 Exporting to a Mail Merge Document Exporting to a Spreadsheet or to a in Microsoft Word . . . . . . . . . . . . . . . . . A47 dBASE or Paradox File . . . . . . . . . . . . . A46 Exporting to an SQL Table . . . . . . . . . . . A47 Quick Export to Microsoft Excel . . . . . . A46 You can find information about exporting data from Microsoft Access to various Web formats in Part 6, “Linking Access and the Web.” This article provides details about exporting data to other Access databases and other file types. You can export (copy) any object in an Access database to any other Access database. You can also export data from Access tables to spreadsheet files, other databases, text files, Microsoft Word mail merge documents, and SQL tables.Exporting to Another Access Database Exporting objects from one Access database to another works much like importing Access objects. (See Chapter 6, “Importing and Linking Data.”) To export any object from one Access database to another Access database, do the following: 1 Open the Access database from which you want to export an object. If that database is already open, switch to the Database window. 2 Select the object you want to export in the Database window, and then choose the Export command from the File menu. Access opens an Export To dialog box in which you can select the folder and the name of the Access desktop database (.mdb) or project file (.adp) to which you want to export the object. (You can export queries in an Access project only to another project file.) After you make these selections, click Save. 3 Next, Access opens the Export dialog box. Use the Export dialog box to specify a name for the object in the target database. You can keep the name that Access suggests, or you can change it to make it more appropriate to the target database. Note that if you’re exporting a table, you can choose to export both the table definition and the data or the definition only. Click OK to export the object. 4 If the export name you type in already exists in the target database, Access warns you and asks whether you want to replace the existing object. Click Yes to proceed, or click No to stop the export procedure. If the export procedure is successful, you’ll find a new object in the target database. Because objects can refer to other objects by name within an Access database, you should carefully check name references in the target database. A45 Part 8: AppendixesPart 9: Articles Microsoft Office Access 2003 Inside Out Exporting to a Spreadsheet or to a dBASEChapter B or Paradox File Use the following procedure to export data from a table, a select query, or a crosstab query to a spreadsheet (Microsoft Excel or Lotus 1-2-3) or to a different database file format (dBASE or Paradox). 1 Open the Access database from which you want to export an object. If that database is already open, switch to the Database window. 2 Select the table or query you want to export in the Database window, and then chooseArticle 2 the Export command from the File menu. Access opens the Export To dialog box, from which you can select the file type, folder, and name of the file to which you want to export the selected object. After you make these selections, click Save. 3 If the export procedure is successful, you’ll find a new file that you can use with your spreadsheet application or with another database program. Tip Access truncates long field names when it exports data to dBASE or Paradox files.Article 2 If this results in a duplicate field name, Access will not export your data. To correct this problem, make a temporary copy of your table, edit the field names ...
Gợi ý tài liệu liên quan:
-
52 trang 429 1 0
-
62 trang 401 3 0
-
Đề thi kết thúc học phần học kì 2 môn Cơ sở dữ liệu năm 2019-2020 có đáp án - Trường ĐH Đồng Tháp
5 trang 377 6 0 -
Top 10 mẹo 'đơn giản nhưng hữu ích' trong nhiếp ảnh
11 trang 310 0 0 -
74 trang 294 0 0
-
Giáo trình Cơ sở dữ liệu: Phần 2 - TS. Nguyễn Hoàng Sơn
158 trang 291 0 0 -
13 trang 290 0 0
-
96 trang 289 0 0
-
Báo cáo thực tập thực tế: Nghiên cứu và xây dựng website bằng Wordpress
24 trang 288 0 0 -
Phân tích thiết kế hệ thống - Biểu đồ trạng thái
20 trang 283 0 0