Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot close table
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00523066
Message ID:
00523279
Vues:
15
>I am using the following to close a data table
>
>IF USED("TABLEA")
> USE IN TABLEA
>ENDIF
>
>
>When the program gets to the line USE IN TABLEA, it stops. The table is a member of DBC, contains no memo fields , and four indexes(no compound indexes).
>
>What could cause this?

This works for me:

IF USED('tablea')
SELECT tablea && select the open table
use && closes the table in the current work area

otherwise I think you are using a second instant of the table and then closing the second instance, leaving the original one still open.
MSCE, MCSP, Microsoft Channel Partner

Relax, Boss. We will meet the deadline! What? You want to add MORE? What do you mean, Over Budget?

Opinions and comments are the sole responsibility of the sender, and accuracy, correctness, or pertinence is considered coincidental.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform