Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing backend to SQL Server
Message
 
 
To
20/06/2005 08:25:01
Aman Bains
Jaguar Computers
Jalandhar, India
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9
Database:
MS SQL Server
Miscellaneous
Thread ID:
01024807
Message ID:
01024840
Views:
29
This message has been marked as the solution to the initial question of the thread.
>I want to change backend of a large application developed in VFP 6 to SQL Server and also upgrade to VFP 9, to take advantage of the latest features for upscaling.
>
>I want to make minimum changes to code, as the application is very large. All my Reports are form & grid based & use vfp sql and am using a form class for all Masters.
>
>I tried using CursorAdapter class, but the schema becomes to long (more than 255 characters is not accepted).

This is a problem in the Property Sheet prior to VFP9, and not the CA. You can have schemas as long as you need, but you would have to set that property using code in the init of the CA.

>Is CursorAdaptor with ADO the best option in my case? How do I get around the abovementioned problem?

ADO will not work around that problem either unles you are using VFP9.

I have a free CA builder that wil create a class library (VCX) that will have a subclassed CA for every table in your SQL Server database. The source code is included and has extensive comments on how to use it and the generated VCX near the beginning of the CABuilder PRG file. You can get it by clicking the FoxPro Tools link at http://www.mctweedle.com
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform