Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ON SHUTDOWN procedure table access
Message
De
10/09/2004 07:22:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
09/09/2004 15:07:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00940786
Message ID:
00940974
Vues:
25
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform