Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One grid faster than other
Message
From
23/12/2003 02:48:31
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
23/12/2003 02:12:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00861503
Message ID:
00861512
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
>
Yashodhan,
What are GL_CODE, DOC_NO etc ? Prefix them with their aliases (or m. if they're memory variables).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform