Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting VFP using native database App to SQL
Message
 
To
13/11/1999 11:14:15
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00290904
Message ID:
00290946
Views:
18
>I agree with Edward. Bulding a C/S app is not as simple as connecting your program to the remote source, it requires a different application philosophy that most 2.6 apps never subscribed to.
>
>The VFP docs detail a lot of what is involved, so get to reading. I wouldn't count on any magical shortcuts though.

Hi Erik,

Just wanted to throw out a wild guess.

What if you renamed all the existing tables and pre-pended them with 't_', also rename the orig. .dbc add a 't_' also. Now create a new .dbc (same name as the original, add a connection that uses ODBC to point to the original tables, and create a remote view for each table using the original table names.

so MyDbc becomes t_MyDbc
so MyTable becomes t_MyTable
then make a new MyDbc and a remote view called MyTable.

You could trick the forms into using the remote views instead of the tables. As long as the forms use tableupdate / revert it might work.

I know there will be alot of places where you could have problems, just wondering if maybe it could provide a temporary solution.

Stephane- This s a SWAG, I'm not saying it will work, and don't even know if it is completely plausible. As both Erik and Ed have said, there is probably no magical cure. I'm just throwing it out to get some input.

You may want to look at http://msdn.microsoft.com/isapi/msdnlib.idc?theURL=/library/periodic/period99/html/ft99d1.htm for some ideas of how to architect a C/S solution that uses both VFP and SQL back-ends..
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform