Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you create a cursor with an alias?
Message
 
To
30/10/1997 09:08:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00057358
Message ID:
00057384
Views:
28
>>can you create a cursor with an alias so that use can refer to itby an alias name like: "sele thisalias"
>
>Hi Tim,
>
>If you create using CREATE CURSOR, the name you give it is the alias, i.e. in
>
>CREATE CURSOR MyCursor . . .
>
>"MyCursor" is the alias
>
>If you create it using a SELECT statement, you assign it the alias name in the statement, i.e. in
>
>SELECT * FROM MyTable INTO CURSOR MyCursor NOFILTER
>
>"MyCursor" is the alias
>( NOFILTER forces creation of actual cursor, not a filter on original table )
>
>If you want, you can use it again with another alias, i.e.
>
>USE DBF( "MyCursor" ) IN 0 AGAIN ALIAS MySecondCursor
>
THANKS Bill
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Previous
Reply
Map
View

Click here to load this message in the networking platform