Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Frontend=VB, backend=VFP: slow
Message
From
27/09/2000 12:50:04
 
 
To
27/09/2000 12:03:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00421534
Message ID:
00421582
Views:
16
Hi Benoit,

The reason that it's so slow is that the application is not using "true" OLE DB access to the VFP data, it's using the ODBC provider for OLE DB and ODBC is slow. We won't get a native OLE DB provider for VFP data until VFP 7 is released.

I don't think DataClas is going to help you. While it's an impressive product, it's mainly for simplifying and standarding data access and it's not going to alleviate the speed issue.

If you have to use VB on the front-end, I would suggest that you migrate the back-end to either SQL Server or MSDE, depending on the scope of the application. You can then use ADO through the native SQL Server OLE DB provider and the application will be much, much faster. And there's where DataClas might help you.


>I'm being ask to help someone with a problem and I'm looking for ideas, insights and workaround :-)
>
>An application is built with VB as frontend and connects through ADO to a VFP backend.
>
>The problem is that it is very slow (up to 20 seconds in some cases)when updating the database.
>
>I have work with VFP and with VB but never with this kind of setup and, before I diving in, I would welcome your comments.
>
>Some solutions come to mind, and would like your input, or other solutions :)
>1. use of DataClass (I thought this would apply to VB/VFP apps)
>2. migrate the backend to SQLServer (although VFP backend is fast)
>3. migrate the frontend to VFP
>
>
>TIA.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform