Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAttach method
Message
From
26/03/2011 14:34:52
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01505077
Message ID:
01505086
Views:
46
>The CursorAttach method VFP help has the following sentence:
>
>
>A cursor or table can have only one instance of a CursorAdapter object attached to it at any given time.
>
>
>I am trying to understand if the above will or will not prevent me from having the following.
>
>Say I create a cursor adapter object and then fill the cursor. Then I create another instance of a cursor adapter. Can I attach the cursor that was created/filled for the 1st cursor adapter object to the 2nd one? and then attach the same cursor to the 3rd instance of the cursor adapter, and so on. Note that each cursor adapter object will be referenced to a different variable. So in essence I want one cursor to be attached to more than one cursor adapter objects. Is this possible? TIA.
>

Not at the same time. You can if you detach it from one CA before attaching to another.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform