In an effort to reduce refresh time(s), Office Connector will optimize the data functions. It does this by creating a SQL statement based on the table name and only the fields referenced by the Office Connector function(s) contained within a workbook. It will then use this SQL statement for future refreshes for that workbook and any other Office Connector workbook opened in the same instance of Excel.
An Office Connector function returns the error #TABLE?(SAGE_TABLE_NAME) after misspelling a field name within an Office Connector function if the first argument in the Office Connector function is a table name and not a custom SQL Statement.
- Identify and correct the spelling in all Office Connector functions within the workbook.
NOTE: The Log File will have an entry identifying the invalid field name. For example: Invalid column name: 'JSTATU'
- Refresh the workbook two times.
- Save and close the workbook.
- Close Excel completely
- Reopen the workbook and refresh again.
- Save the workbook.