Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SKIP independent of index order
Message
 
 
To
25/08/2003 14:53:45
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00823140
Message ID:
00823164
Views:
25
Just add a slight modification of Yuri's code (I always use this precaution in my code):
lnNewRec = m.lnCurRec+1
if between(m.lnNewRec, 1, reccount())
   goto m.lnNewRec
else
   go bottom
endif
>I know that, but I need to move to EOF().
>When I use GO BOTTOM I use SKIP 1 to move to EOF(), but if I use GO nLastRec + 1 it would generate error.
>
>
>>Instead of skip you can use:
>>ln=recn()+1
>>go (ln)
>>
>>>Is there some way to ignore index order when I use SKIP command?
>>>
>>>I want always next record by number, not by index order.
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