Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor
Message
 
 
To
10/11/2003 09:00:25
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Re: Cursor
Miscellaneous
Thread ID:
00848253
Message ID:
00848264
Views:
14
>Here is my code
>
>
>select * from customer order by name into cursor temp
>
>
>
>After that i want to use the function seek()
>
>
>it is possible or how can i do that thanks

Robert,
To use Seek(), you need an index. You can create one on the temporary cursor.

This leads to the question of why you want to do this. The example you gave is simply selecting all records from customer into a temporary cursor. You then want to do a seek within the temp cursor. Why?

Can't you do a seek on the Customer table itself? Can't you specify the sekk criteria in the SELECT statement instead? That way, the temp cursor will already have the records that match the seek.

Regards.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform