Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private data session causes error
Message
From
30/08/2000 14:23:26
 
 
To
30/08/2000 13:34:36
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00410719
Message ID:
00410919
Views:
22
>Trey,
>The cursors in both forms have exclusive set to .f. in the dataenvironment.
>The database is also opened as shared.
>
>Dave

OK. This one's a poser so far. I'm trying to duplicate this, and I cannot except in the one circumstance where one the table is used exclusively by one of the forms, so bear with me if I am asking obvious questions.

First off - Make both form's DataSessions private. That ought to fix it.

Is the database opened explicitly - by that I mean with OPEN DATABASE SHARE and not implicitly by USEing the table? It sounds like it may be since you say it's opened shared, but I'm just verifying. It doesn't need to be.

When an EXE is run, unless otherwise specified, EXCLUSIVE is set ON.
In each form's Load() (or better yet, your form superclass' Load() event) put the line
SET EXCLUSIVE OFF
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform