Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One grid faster than other
Message
De
23/12/2003 02:12:01
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00861503
Message ID:
00861509
Vues:
21
Terry,
It’s not repeating the validation code. In the beginning of the validation code, I added
WAIT “In ValidateCurrentRow” WINDOW
After changing the row, wait window is appearing only once. Even the validation code is as Straightforward as this –
SELECT tmp_gl
IF REMOVE = "Y"
	RETURN(.T.)
ENDIF

IF EMPTY(GL_CODE) OR EMPTY(DOC_NO) OR EMPTY(REMARKS) OR EMPTY(AMOUNT)
	THIS.pcErrMsg = "Enter all columns correctly."
	RETURN(.F.)
ENDIF

IF !SEEK(GL_CODE, 'gl_mast')
	THIS.pcErrMsg = "GL Code not found in GL Master."
	RETURN(.F.)
ENDIF

IF ASCAN(gArrControlAccounts, GL_CODE) != 0
	THIS.pcErrMsg = "Control Account not allowed here."
	RETURN(.F.)
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform