Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Problem
Message
From
09/02/2010 10:02:02
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
09/02/2010 07:56:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01448317
Message ID:
01448357
Views:
123
>SIR,
>
>I am facing a problem about valid event in grid.
>
>The form is attached, please help
>
>http://www.foxite.com/uploads/5112e621-57aa-4bca-819d-de184254e6d3.zip

You are moving the record pointer explicitly yourself using 'count' command.
if !empty(this.value)
	LOCAL ARRAY cct[1]
	SELECT COUNT(*) FROM subjects where sno = this.Value  into ARRAY cct
	RETURN ( cct[1] <= 1 )
endif
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