In this lesson, you create an Excel worksheet and use the Microsoft Excel Driver to define an ODBC data source. The Excel worksheet stores product information.
To set up your Excel data source
Create an Excel worksheet with the following contents:
order_id | comment_id | order_comment |
---|---|---|
1 | 2 | Promotional material shipped |
1 | 3 | More information about material required |
Change the default worksheet name Sheet1 to order_sheet.
Save the Excel workbook.
This tutorial assumes c:\MLobjexcel as the working directory for server-side components. Save the workbook as order_central.xls in this working directory.
Create an ODBC data source using the Microsoft Excel Driver:
From the Start menu, choose Programs » SQL Anywhere 11 » ODBC Administrator.
The Create New Data Source window appears.
The ODBC Microsoft Excel Setup window appears.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |