Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Tin học văn phòng
access 2007 vba bible phần 6
Đang chuẩn bị liên kết để tải về tài liệu:
access 2007 vba bible phần 6
Ngọc Minh
52
72
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Chọn "Sao lại kết thúc cơ sở dữ liệu" lệnh chất chiết xuất từ tên của cơ sở dữ liệu kết thúc trở lại từ chuỗi kết nối của một bảng liên kết, và trình bày một InputBox với một tên lưu đề xuất, có thể chỉnh sửa như mong muốn. InputBox được thể hiện trong hình | Working with External Data 10 Case 1 HTML DoCmd.TransferText transfertype acImportHTML _ TableName strTable _ FileName strHTMLXMLFileAndPath _ hasfieldnames True Assign the appropriate form as the subform s source object. Me subNewJobs .SourceObject fsubNewJobs Case 2 XML ImportXML DataSource strHTMLXMLFileAndPath _ importoptions acStructureAndData DoCmd.SetWarnings False There is no argument for specifying the name of the table that is created when an XML file is imported it comes in as the name stored in the XML file usually the XML file name possibly with a number added on. DoCmd.Rename newname strTable objecttype acTable _ oldname strHTMLXMLFile Assign the appropriate form as the subform s source object. Me subNewJobs .SourceObject fsubNewJobs End Select ErrorHandlerExit Exit Sub ErrorHandler MsgBox Error No Err.Number _ Description Err.Description Resume ErrorHandlerExit End Sub Exporting HTML and XML Files If you want to experiment with exporting Access data to HTML or XML files try the Export Job Data to HTML or XML File form. If you select the Export HTML or XML Data option on the main menu see Figure 10.10 and click the button to its left the Export Job Data to HTML or 341 Part II Writing VBA Code to Exchange Data between Office Components XML File frmExportHTMLXMLData form will open as shown in Figure 10.26 . The form has From Date and To Date textboxes for specifying a date range clicking the Inspect New Jobs to Export button loads the subform with the records from the selected date range. FIGURE 10.26 Inspecting the filtered job records to export to an HTML or XML file. Clicking the Export Jobs to HTML File button or Export Jobs to XML File the caption changes with the selection in the Export File Type option group starts the export. The HTML export is done with the TransferText method with the acExportHTML value for the TransferType argument the XML export is done with the ExportXML method of the Access Application object. Figure 10.27 shows an .
TÀI LIỆU LIÊN QUAN
Ebook Microsoft office access 2007 VBA programming for dummies
Wrox Access 2007 Vba Programmers Reference
Access 2007 VBA Programming for Dummies - by Joseph C. Stockman and Alan Simpson
Access 2007 VBA Programming
Access™ 2007 VBA Programmer’s Reference
Access 2007 VBA Programming for Dummies
Giáo trình Lập trình quản lý với Microfoft Office Access 2007: Phần 2
VBA for the 2007 Microsoft Office System
access 2007 vba bible phần 1
access 2007 vba bible phần 2
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.