Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
THISFORM can only be used within a method
Message
From
12/01/2007 11:49:25
 
 
To
12/01/2007 11:34:26
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01185055
Message ID:
01185093
Views:
14
Well thanks, Alex, but all I get is a messagebox with message "Poc: On ...", and that's it

which means to me that we're now in an ON ... situation, which I know because I've just put it there! :-)

>Hi Terry just put this in your error routine
>
>LOCAL lni, llterm, lcproc, lcmessage
>lni = 1
>llterm = .f.
>lcmessage = ''
>DO WHILE !llterm
>	lcproc = PROGRAM(lni)
>	IF !EMPTY(lcproc)
>		lni = lni + 1
>		lcmessage = lcmessage + ' proc: ' + lcproc + CRLF
>	ELSE
>		llterm = .t.
>	ENDIF
>ENDDO
>MESSAGEBOX(lcmessage)
>
>This will show you the entire call stack.
>>
>>Hi Eddie
>>
>>"rtefam.eroute,start_date,end_date,family,avjval"
>>
>>First thing I checked was the combo's props for any mention of Thisform or ref to something that might ref it. Besides, it was working fine till I put this other code in various places in the form.
>>
>>Thanks
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform