Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rename a cursor?
Message
De
04/10/1999 18:09:37
 
 
À
04/10/1999 16:53:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00272456
Message ID:
00272490
Vues:
27
>>>Are there any commands I can use on a cursor created with "create cursor" to rename a cursor or copy the contents of one cursor to another?
>>>
>>>Thanks,
>>>Paul
>>
>>USE originalcursor AGAIN ALIAS newname
>
>Wouldn't this be USE DBF('originalcursor') AGAIN ALIAS newname

You are indeed correct. Good catch!

>
>>USE IN originalcursor
>>
>>
>>SELECT * FROM originalcursor INTO CURSOR newcursor
>>
>>Or, if you already have a newly created cursor using CREATE CURSOR and it's the same structure as the original, you can use:
>>
>>SELECT newcursor
>>APPEND FROM DBF('originalcursor')
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform