Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server help needed - Invalid field names for VFP
Message
From
25/01/2005 17:40:55
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
00980557
Message ID:
00980581
Views:
21
I guess I do not understand. I am trying to use either a Cursor Adapter or a Remote view to get to this data. I have made a view on the SQL Server which now provides aliased field names which VFP finds acceptable, but i cannot configure a view with the VFP CA builder. I tried yours as well, but your cool builder does not generate classes for SQL views.

Thanks

Glenn

>How about aliasing the field names.
>
>CREATE SQL VIEW... AS
>SELECT 1 as NewName1, 2 as NewName2,... N as NewNameN FROM...
>
>>I need to access a SQL Server database which has some fields named:
>>
>>1
>>2
>>3
>>4
>>5
>>6
>>7
>>8
>>9
>>
>>
>>No matter how I try to get to this data, I am unsuccessful. I am not very handy with SQL Server and need some help making a "View" of this data which VFP can access via either a Cursor Adapter or a remote view.
>>
>>Please help I am stumped.
>>
>>Glenn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform