Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index a Cursor????
Message
From
17/11/1998 19:14:41
 
 
To
17/11/1998 05:28:29
Man Wai Chang
Hang Hing Metal Manufacturer
Hung Hom, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00156617
Message ID:
00158567
Views:
33
>>>If you index the cursor BEFORE re-opening it as
>>>a writable cursor, then the index plus the cursor
>>>will be deleted automatically! That is,
>>>
>>> create cursor C_XXX ...
>>> index on cfield1 tag cfield1
>>> m.dbf = dbf()
>>> use (m.dbf) again in 0 shared alias C_YYY
>>> use in C_XXX
>>> select C_YYY
>>> index on cfield2 tag cfield2
>>> index on cfield3 tag cfield3
>>> ....
>>
>>But your cursor C_XXX is already fully writable, so why USE AGAIN? And what's the point of trying to create a SHARED cursor? How would you get updates to it?
>
>I shouldn't use "create cursor C_XXX ...",
>rather "select ... into cursor C_XXX".
>Thank you for your reminders.

I knew what you meant :-)
Previous
Reply
Map
View

Click here to load this message in the networking platform