Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foxpro not obeying me outside debug
Message
De
16/05/2007 07:30:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Foxpro not obeying me outside debug
Versions des environnements
Visual FoxPro:
FoxPro Dos
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01225905
Message ID:
01225905
Vues:
48
The darndest thing. Please look at the code below (not mine but I've amended it). At the end of this code the table ERROR (or as I've aliased it "ERRTABLE" in case reserved word problem) is not closed. But if I run it in debug I see it close before the return.

I've tried several permutations, including selecting the table before the USE IN command, inc. releasing the window AFTER the USE.

What gives?!

'ppreciate it.

Terry
procedure showerrs
define wind error from 0,0 to 20,79 color scheme 10
select 9
* TPMcD 25/04/07 use error
use error Alias ERRTABLE		&& TPMcD 25/04/07
goto bottom
do prompt with "<esc>to exit, Page Up/down to view"
browse fields "No"=errno,"Program"=errprog,"Line"=errline,;
   "Date"=errdate,"Time"=errtime,"Error"=errmess ;
   noedit nodelete noappend window error
   
* TPMcD 25/04/07 use
release wind error

* Select Error					&& TPMcD 25/04/07

USE in ERRTABLE					&& TPMcD 25/04/07
return
- 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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform