Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rename a cursor?
Message
From
04/10/1999 18:09:37
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00272456
Message ID:
00272490
Views:
29
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform