Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One grid faster than other
Message
From
23/12/2003 02:12:01
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00861503
Message ID:
00861509
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform