Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When or Where form's private datasession is released?
Message
From
05/08/2007 18:47:47
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01243755
Message ID:
01246062
Views:
24
Hello Naomi,

The View definition is just a "Select * from MyTable order by PK_Field"

The particular situation is that I issue this command at the end of the form's load to disable updates:

=CursorSetProp('SendUpdates', .F., 'MyView')

I still do it, but the difference is that I removed the view from the Form's DE and I open it in the Load event.



Now, If I leave the view in the DE and comment the CursorSetProp line, the problem persists. It was only solved after removing that view from DE.

Thanks









>>Hello Christof and Naomi.
>>
>>Can you please explain something related to the form's dataenvironment, I followed this procedure:
>>
>>I removed everything in the form, and left the form, the "Exit" button and the dataenvironment only. This DE contains fox tables and fox views.
>>I just run the form, then click "Exit" and the unknown(2) datasession appears with 7 open tables, most of them have an associated view.
>>
>>The problem was corrected when I removed a specific view (that and only that view) from the dataenvironment and USEd it in the form's load. After this, the form runs normally and the unknown datasession does NOT appear.
>>
>>Strange or any possible explanation??
>>
>>Thanks,
>>
>>Juan C.
>>
>
>What was specific about this particular view? Was is based on the tables only or on some other views?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform