Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a cursor
Message
 
À
13/04/2004 14:26:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00894529
Message ID:
00894536
Vues:
7
One of the solutions:
Select * from yourtable into cursor cursorname
index on .... tag ...
Another one:
lctemptable="S"+sys(3)
use yourtable
copy to (lctemptable) with cdx
.....
.....
erase (lctemptable+".*")
>i want to create a cursor from a table called 'customer'
>but i want to keep the index inside because i want to do search with it
>
>
>exemple :
>
>
>my cursor name is : cur_customer
>
>
>select cur_customer
>set order to name
>seek(myvar)
>if found() then
>
>.....................
>
>
>
>how can i do that
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform