PRB: SQL Server Table Bit Field Requires Value of 0 or 1 (156508)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft Data Access Components 2.5
This article was previously published under Q156508 SYMPTOMS
You may receive the following error running a Remote View after setting a
filter condition for a bit field from a SQL Server table:
Connectivity error: [Microsoft][ODBC SQL Server Driver][SQL Server]
Line 1: Incorrect syntax near '.'.
[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name
'<T or F>'.
CAUSE
You have used .T., .F., T, or F in the Remote View Designer as a Filter
Example for a field of bit data type in a SQL Server table. The SQL Server
ODBC driver requires a 0 or 1 for Filter Example for fields of bit data
type.
RESOLUTION
Use a 0 or 1 rather than .T., .F., T, or F.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 12/3/2003 |
---|
Keywords: | kbprb KB156508 |
---|
|