Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT-SQL and Exclusive use of tables
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00399922
Message ID:
00400002
Vues:
18
>I have SET EXCLUSIVE OFF in my main program.
>
>I have some PRIVATE DATASESSIONS but not all just becuase I forgot to do so. The code I referenced is in the CLICK METHOD of my FORM.
>
>The TABLES were open SHARED AGAIN IN 0 in the main program.

SET EXCLUSIVE is mapped to the datasession. But it's default is ON for the main datasession, and OFF for PRIVATE datasessions.

Whatever, in no case do I get the table that was the source of a SQL SELECT changing from SHARED to EXCLUSIVE. Run the debugger and breakpoint before and after your SELECT statement and see what the status of your files are before/after.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform