Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datasession
Message
From
19/02/2008 11:40:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
01293763
Message ID:
01293803
Views:
19
>>>>>I end up having 2 datasessions in my app but not sure how this occurs. It is causing some problems like "cannot access selected file" How do I get a grip on this and prevent multiple datasessions?
>>>>
>>>>It usually means that your form was not properly released because of the dangling object references.
>>>>
>>>>Check DS after you release the form. You can test with asessions() function (or something along the lines).
>>>
>>>What things would constitute as dangling object references?
>>
>>If the form was supposed to be released, but you still see its DS around, it's a clear indication of the problem.
>>
>>Do you create some objects as part of form property reference?
>
>Actually no.
>in the listbox init I have
>IF USED('&zfile')
>USE IN &zfile
>endi
>USE &LD:&zfile
>
>.rowsource="select emas,doc,noun,model,s_n,rec_1297,p_u_date,loc,tin_doc,drmo_date,remarks,rek from &LD:&ZFILE into curs zecu"
>
>Another problem I notice is the when arrowing thru the listbox, it hesitates dramatically and even has two line items highlighted. ugh.
.rowsource="select emas,doc,noun,model,s_n,rec_1297,p_u_date,"+;
   "Loc,tin_doc,drmo_date,remarks,rek"+;
   " from (m.ld+':'+m.ZFILE) into curs zecu nofilter"
However don't forget it has to find ld and zfile variables when you a requery.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform