Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add 'extra' columns to remote views?
Message
 
To
13/05/1999 18:05:01
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00218634
Message ID:
00218744
Views:
27
That is T-SQL syntax, and needs to be passed to the server. VFP remote views interpret the bit field as a logical field.

Convert is a handy function, and can be found in the T-SQL docs.

>>I ran across this today. SQL Server stores logical fields at type bit.
>>
>>Try using 'Select convert(bit,0) as lField from ....'
>>
>>
>>>
>>>The SPACE(X) worked for the char column, but for the logical column I gat a "connectivity error, syntax bad near AS'...or something like it
>
>Is that VFP 5 compatible syntax? I will give it a go and let you know. I thought I saw the convert function somewhere, but couldnt find it anywhere. Where are the docs?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform