Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index offset
Message
 
To
30/05/1997 11:20:04
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00034245
Message ID:
00034250
Views:
37
>>Is there any way to find out what the offset of the current record is under the current index?
>>
>>For example I am trying to find out what the 3rd record is under a certain index for example
>>
>>Any help greatly appreciated.
>>
>>TIA
>>
>>Mike
>
>I have an idea:
>
>nRec = RECNO()
>COUNT ALL WHILE RECNO()nRec TO nOffset
>nOffset = nOffset + 1

select top 3 field1 from mytable where condition order by indexfield
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform