Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Yahya Abou dalal
  Where is Yahya Abou dalal?
 Yahya Abou dalal
 To: imran khan
  Where is imran khan?
 imran khan
Subject: RE: Error instantiating Cursor object
Thread ID: 373445 Message ID: 373507 # Views: 38 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Databases, Tables and SQL Server
Date: Friday, March 22, 2013 7:00:17 PM         

> Dear Experts,
> My Application structure is:
> 1. Database on Shared Computer#1.
> 2. Exe & Runtime files placed on Users Systems (workstations)
> 3. I have placed command in Config.fpw set path to \\Computer#1\D\AppDatabase\...
> Application is runing correctly but some time my network goes down and I face following problem.
> I want to handle with On Error routine to quit Application immediately.
> Regards
> Imran

I suggest to put your set path command in a try catch construct inside your main program.In this case you can trap the error and take correct action.

set path to .....
wait 'error'



Error instantiating Cursor object Posted by imran khan @ 3/22/2013 7:12:21 AM
RE: Error instantiating Cursor object Posted by Yahia Aboudalal @ 3/22/2013 7:00:17 PM
RE: Error instantiating Cursor object Posted by tushar @ 3/23/2013 5:13:06 AM