Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Logical recno()
Message
 
To
25/11/1997 15:53:43
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brazil
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00062246
Message ID:
00062333
Views:
27
>Hello Edward! How are you?
>
>Maybe you can help me?
>
>I have a grid, and in dynamicbackcolor i have the follow code IIF(MOD(RECNO(),2)=1,RGB(255,255,255),RGB(192,220,192)), but in the header of any columns i change the order of my table, by sample:
>
>thisform.grid.column1.header.click=set order to tag cust_id
>thisform.refresh
>
>thisform.grid.column2.header.click=set order to tag name
>thisform.refresh
>
>The problem is, when i change the order of my table the grid did stay disordered
>
>
>Thanks
>Anderson Reis Girardi

If you use a view or SQL-Select instead of a table your records will always be numbered from 1 to n

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform