Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Objects and DataSessions
Message
From
05/08/2005 14:27:25
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 7 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01038878
Message ID:
01038970
Views:
17
In this case, it matters because the dbc() function returns a correct value when the datasession is #4 but as soon as the datasssion is switched to #1 dbc() returns ''. This was all brought on by some tables that did not close correctly in a form. [ I did a select on a table not in the dataenvironment] and when the form closed the tables remained open in a private datasession. This caused the repair function not to work correctly and in trying to find out what was happening I ran into the problem with dbc() described above. I am perfectly happy in fixing the problem and moving on, but my anal associate wants to know WHY this happens.
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform