Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxpro not obeying me outside debug
Message
From
16/05/2007 10:10:46
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
FoxPro Dos
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01225905
Message ID:
01225972
Views:
18
>>>Obviously you can reproduce this. However, with the code you provided, I cannot repro it under VFP7. I did this:
>>>
>>>DEFINE WIND ERROR FROM 0,0 TO 20,79 COLOR SCHEME 10
>>>CREATE TABLE 'error' (errno N(3,0),errprog c(24),;
>>>   errline N(3,0),errdate d,errtime c(5),errmess c(24))
>>>INSERT INTO 'error' VALUES (123,'thisprog.prg',999,;
>>>   DATE(),'18:57','mess')
>>>USE
>>>SELECT 9
>>>USE 'error' ALIAS 'ERRTABLE' && TPMcD 25/04/07
>>>GOTO BOTTOM
>>>BROWSE FIELDS "No"=errno,"Program"=errprog,"Line"=errline,;
>>>   "Date"=errdate,"Time"=errtime,"Error"=errmess ;
>>>   NOEDIT NODELETE NOAPPEND WINDOW ERROR
>>>RELEASE WIND ERROR
>>>USE IN 'ERRTABLE' && TPMcD 25/04/07
>>>
>>>Using only that snippet, does the problem manifest on your system?
>>>...Art
>>
>>
>>Thanks Art
>>
>>I ran your snippet and errtable closed as expected. I'll have to look closer at what's different in your code (BTW please don't think MY snippet is MY code - I've just got to contend with what I've got - this mystifies me though)
>>
>>Terry
>
>Is it possible that you exit the procedure prematurely (may be by error, which is supressed?) and this line of code is never executed?

If you look at the orig. mmessage then you'll see where the code exits, with a "return" at the end of the snippet
- 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
Next
Reply
Map
View

Click here to load this message in the networking platform