Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Row number in grid
Message
 
 
To
01/04/2010 09:06:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01458306
Message ID:
01458358
Views:
42
>>>Why would you want to do that when there is recno()? Why don't you suggest, is there a reason? Even if one wouldn't use recno() because of something like indexed view along with 1,2...100 numbering then why would you ever want to add to source another column, you could use an auxillary cursor or array.
>>>Cetin
>>
>>With deleted records recno() is not necessary 1,2,3 etc. I'm not sure how to use auxillary array (based on recno() or ID, I assume) and would it be faster or not than the actual RowNum column.
>
>An auxillary array can be based on any order and simply keeps ID. Ascan() returns 'recno'. It is simple and fast (posted sample a few times before). I don't know something called RowNum column.
>Cetin

Yes, I figured that. I think you're right, it may be better alternative.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform