Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record no in SQL?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00340444
Message ID:
00341133
Views:
28
>did u mean if i just use the sql like this:
>"select * from table where recno() >= 10 and recno() <=20 into cursor temp_cursor"
>will also comes up wrong result?

I would never trust Recno() as a value. There is a primary key for this and every table you create? Use it.

Recno() is a not a constant when you consider offline usage. The primary key is fixed and should never change. All it takes is one pack/reindex to blow away your recno() integrety.

__Stephen
Previous
Reply
Map
View

Click here to load this message in the networking platform