Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird WAIT WINDOW behavior....
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Weird WAIT WINDOW behavior....
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01503722
Message ID:
01503722
Vues:
100
Hi Gang!

I solved a weird bug in our code....

and it has to do with this WAIT WINDOW
WAIT WINDOW 'Charged to Account No. ' + ALLTRIM(STR(mAR_Link)) TIMEOUT 2
When the code runs up to this statement, I can stop the code and see that I have 4 records in a table called REGTEMP which is used EXCLUSIVELY.

After the WAIT WINDOW executes and I stop the code, I now have only 1 RECORD in REGTEMP! And this record is missing some of its data in some of the fields!!


When I change the WAIT WINDOW to....
WAIT WINDOW 'Charged to Account No. ' + ALLTRIM(STR(mAR_Link)) NOWAIT 
Everything is happy in FoxPro land..... and the code works.... I still have my 4 records in REGTEMP!

Anyone come across a bug like this in WAIT WINDOW???

Thanks!
Tommy Tillman A+ NetWork+ MCP
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform