Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When does datasession change ?
Message
From
26/06/2001 10:19:47
 
 
To
24/06/2001 16:12:55
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00521629
Message ID:
00523563
Views:
12
Hi Lutz,

Woops~ Why dind't I see your msg last nignt ?
Today I finished a small job to upgrade old programm of my customer and
wish to be free tonight with some dinks..Where is Dark Beer Club here in UT? ^^
As well as your indication, I strongy feel the necessity to thoroughly trace
the change of dataenvironment of my class and form including toolbar and
cmdButton,either. Today,I found some strange behavior to unintentional changes
of datasession calling other forms based on SCX or CLASS form, in which I've
never seen. Along with your advice,I will dig into more deelpy in my Framework.
Actually, I'm using \FFC\_Framewk customized by myself, which has no such
errors like this time over several projects by now.

>IF _VFP.STARTMODE=0 THEN
> *If running from environment
> SET ASSERTS ON
>ELSE
> *otherwise
> SET ASSERTS OFF
>ENDIF _VFP.STARTMODE=0

Good points I didn't give an attention. Of course i only inserted and scraped
'SET STEP ON' just for debugging whenever i needed.However i disregard to put
code like this for my laziness till now, but i make my mind change to follow
your idea, even a bit cumbersome..^^

>I use classes for the chance to inherit. Since I did'nt use dataenvironment >and a lot of specialized form classes it's much faster to create a new class >then a SCX because I always have to run through Obtions/Extras ... But this is >not common as I understand other threads in Universal Thread.

i'm going to change my framework to comcodebook as soon as finishing to study
that. I admit there is as many things i'm not aware of at this time and the
kind of advices from you makes me enlighten.

>>Lee, is there a posibility to add some breakpoint in form1 cmdbtn and then to >>single step with debugger until the system crashes?

Sure, as you told me last message...i'll test it via commad window.
I'll Do that tomorrow and report you about my bad mistakes...^^

Have a Nice Day.

RGDS
HK.Lee
MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform