Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Little problem with running long SQLs or using session c
Message
 
 
To
18/09/2006 13:21:20
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01154792
Message ID:
01154807
Views:
12
>>Hi everybody,
>>
>>In my form a create an instance of a session class and run some of its methods. I noticed, that sometimes my form sort of becomes blank (e.g. all controls disappear). Aside from Locking Windows is there a way to prevent such effect?
>>
>>Thanks in advance.
>
>Is the sessionn a form's member ?

No, I just use a private variable
poProcess = newobject()
lcReturn = poProcess.MyMethod()

I also use ON ESCAPE poProcess.Something..., e.g.

on escape m.poProcess.cError = iif(YesNo("Are you sure you want to stop?"), ;
"User Interrupted the assigning queue process.","")

poProcess.lTransferAccounts = not empty(.cboInvestigator.displayvalue)
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform