Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
If you're doing this in the ide, then that's just the way it is. If you have a dbc open in the ide, then using 'close data all' doesn't close it. If you run the app as a normal exe outside of the foxpro environment, it should work ok.
Alan
>hello everybody,
>
>I need to implement a function in a system, the function needs to close all database before working. I used "close data all", but when I check with DBUsed(MyDBC) it still returns true.
>
>I checked with the data session window and found that some tables are still in a session "unknown(2)", it's kinda trouble for me to find out where did the system put these tables in the unknown session. What should I do to really close all database, including those in the unknown session? or must I modify the current code to prevent them from falling into it?
>
>Thanks a lot!
>Jimi
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement