Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't open an application more than once
Message
From
12/11/1997 12:42:05
 
 
To
12/11/1997 12:31:46
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00059713
Message ID:
00059753
Views:
33
>First open up the SCX and find out what record 4 is.

Form2.SCX Class = "Form"

>Second are you running default or private data sessions.

I tried both

>Third, it is possible that there is some of the code within
>your form is opening one of your files exclusively.

I made a dummy project with:
- Database with one table "Table1"
- One form (based on VFP class) with "Table1" in the data environment (Exclusive = .F.). Dragged the table into the form to create a grid. No other modifications done to the form
- One main program that call the form and issue a READ EVENTS

Compile the project into a .EXE

Run the .EXE

In the status bar, I see that the table isn't open exclusive (when you open a table exclusively, you see "exclusive" in the status bar)

Run again the .EXE while the other one is still running. I get the error message at this point.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform