Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to seek data from grid based on view
Message
From
06/06/2002 06:44:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
05/06/2002 14:51:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00664964
Message ID:
00665329
Views:
25
>I get the below mentioned error message when i used this
>
>nRecNo = RECNO( Thisform.grid1.RecordSource )
>Thisform.grid1.SetAll('DynamicBackColor', ;
>'IIF(RECNO(Thisform.grid1.RecordSource) = nRecNo, RGB( 0,255,255 ), RGB( 255, 255, 255 ) )', 'COLUMN' )
>
>
>Microsoft Visual FoxPro
>OK ,Cancel
>Expression is invalid. Use a valid expression for DYNAMICBACKCOLOR property.
>
>what's wrong in this.
>
>txs

Scope problem. Form downloads area download 'two grid classes'. With anyone of them you could do :

* Move pointer in grid's recordsource by any means
thisform.Grid1.recchange()

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
Reply
Map
View

Click here to load this message in the networking platform