Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A row number in a grid
Message
From
01/10/2004 16:18:54
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
01/10/2004 15:23:12
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00948061
Message ID:
00948076
Views:
16
>This has to be easy, I want to have the first column in my grid to display the underlying table's row number. The order of the table should not matter. Paging down to the bottom row in the grid should show the total number of records in the table. How can this be done?
>
>Thanks.
With myGrid
 .Addcolumn(1)
 with .Columns(.Columncount)
   .ControlSource = "(recno())"
   .Header1.Caption='Record#'
 endwith
endwith
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