Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scope vs FOR/WHILE in commands
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Scope vs FOR/WHILE in commands
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01531561
Message ID:
01531561
Vues:
85
Hi Gang!

Question....

I've come across some code that I need to speed up and was wondering about this......

in the code below is an ALL scope along with the FOR......

Will the ALL be ignored or will it cause a slowdown in the processing of the FOR ????
				*TMN 06/21/2011 - remove claim records if a Prefill so we don't have duplicate claim records
				IF Thisform.p_FormType = 3  && Prefill only!
					DELETE ALL ;
					FOR (ALLTRIM(STR(rx_claim.rx_no)) = ALLTRIM(STR(rx.rx_no))) ;
					AND (ALLTRIM(STR(rx_claim.refill_no)) = ALLTRIM(STR(rx.refill_no))) ;
					AND rx_claim.statuscode = -1 IN rx_claim
					Thisform.m_save(.T.,"rx_claim")
				ENDIF
				*TMN 06/21/2011
Thanks!
Tommy Tillman A+ NetWork+ MCP
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform