Error When Test Executive Tries to Create a Table in ExcelPrimary Software: LabVIEW Toolkits>>Test ExecutivePrimary Software Version: 5.1 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have the Test Executive software package, which supports database data logging. The ConnectionString specified in my testexec.ini file refers to a valid Data Source Name (DSN) in my ODBC administrator. Microsoft Excel is used as a database type and my database is a new Excel file. Everything looks fine, but I get an error when Test Executive tries to communicate with Excel. What might be wrong? Solution: Each sheet within the Excel file is referred to as a table. Before sending data to a database, Test Executive checks for the table's existence. If required tables (e.g., UUT, SEQUENCE, TEST, etc. -- see testexec.ini) do not exist, then they are created. This is the place where Test Executive fails. SQL syntax is standardized, but each database contains different datatypes that you can use for table columns. When you create a table, you need to specify the requested column datatypes. There is no generic create statement that will work for all databases. The one used in Test Executive works for dBase, but not for Excel. You need to change the create statement to successfully pass this step. Here's how to do that:
Related Links: Attachments: You can use the following file for Test Executive 5.1.1 and Excel 97:
Report Date: 02/16/2000 Last Updated: 12/02/2004 Document ID: 1UFCSSJ6 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
