Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT-SQL and Exclusive use of tables
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00399922
Message ID:
00400002
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform