PRB: Connectivity Error: Not a Recognized Built-in FunctionID: Q140575 3.00 WINDOWS kbinterop kbprb The information in this article applies to:
SYMPTOMSWhen trying to run or browse a remote view, you may receive a Connectivity error similar to this one:
CAUSEThe CTOD function is added by the user as one of the Output fields, Order By, or Group By fields, or it is added by the View Designer as part of the Selection Criteria. CTOD is a FoxPro-specific function that is not recognized by the SQL Server. When browsing the Remote View, FoxPro passes the SQL command (listed in the Remote View SQL window) to the back-end server for execution. A connectivity error message is generated when any of the FoxPro-specific functions are passed to the back-end server.
RESOLUTIONThe View Designer problem in Microsoft Visual FoxPro version 3.0 for Windows is fixed in Microsoft Visual FoxPro version 3.0b for Windows. In version 3.0, the view designer added the CTOD to the WHERE clause whenever a Selection Criteria on a Datetime field is added to the view. Version 3.0b does not add the CTOD automatically. Currently, 3.0b requires that the date in the example be surrounded by single quotation marks.
Steps to Work Around Problem1. Create an updatable View using SQL Passthrough. Use one of the SQL 2. Remove all FoxPro-specific functions from the Remote View.
3. Create a Local view based on the Remote View. 4. Add the necessary functions or selection criteria to the Local View.
STATUSMicrosoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior1. Create a Remote View to a Microsoft SQL Server. 2. Add some fields to the Selected Output using the Functions/Expressions 3. Add Selection Criteria using a Datetime type field.
4. Browse the view. Additional reference words: 3.00 VFoxWin KBCategory: kbinterop kbprb KBSubcategory: FxinteropOdbc
|
Last Reviewed: December 12, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |