Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ON SHUTDOWN procedure table access
Message
From
10/09/2004 07:22:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
09/09/2004 15:07:55
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00940786
Message ID:
00940974
Views:
26
>I am trying to pack my tables when shutting down the application. I have the code in the ON SHUTDOWN procedure. When using FILE EXIT, which calls the SHUTDOWN procedure, it works fine. If I close the program using the X box it cannot find the table even though it is defined with a complete path. It calls the SHUTDOWN procedure. It just can't find the designated table. Is it possible that after closing with the X box Foxpro cannot open any tables?

No there isn't such a thing. If you have complete path and it's saying it doesn't exist then double check if it really exists. In all my cases VFP was right:)

PS: If it really exists this should work as the first 2 lines of main in code:

myCompletePath = "c:\Some Path\myTable.dbf"
use (myCompletePath)

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform