Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursorsetprop(buffering,5,0) and create cursor ??
Message
From
11/06/2004 14:08:53
 
 
To
11/06/2004 06:02:04
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00912173
Message ID:
00912835
Views:
26
>
>Hi Fabio,
>
>I am sorry, it is not clear for me what you are trying to ask.
>
>SPT cursors transactable by default, don't they?
>If a cursor is not transactable, table buffering should be switched off before it can be made transactable (I am talking about MAKETRANSACTABLE() function). After the cursor is made transactable, it can be switched to table buffering without any problem.
>
>Does this answer your question? If not, please try to explain more clearly what is it you would like to do. Perhaps with some code examples.
>
>Thanks,
>Aleksey.
>

>
>I think you have understood well
>
>To close the issue,
>You can comment these sequences and confirm if it is all correct.
>
>
>* for one DBC table/view or for a SPT Cursor
>* allocate one of these into a WorkArea
>* define a index
>* set table buffering
>* define another index  : this action is not possible
>* BEGIN TRANSACTION
>* define a index        : this action is not possible
>* change buffering      : this action is not possible
>
>
>
>* for one FREE table o for one temporary Cursor
>* allocate one of these into a WorkArea
>* define a index
>* set table buffering
>* MAKETRANSACTABLE()	: this action is not possible
>* set no buffering
>* MAKETRANSACTABLE()	
>* set table buffering
>* BEGIN TRANSACTION
>...
>
>
>Thanks
>Fabio

Hi Fabio,

This looks correct.
MAKETRANSACTABLE() is supported in row buffering mode, it is not necessary to switch buffering off completely.

Thanks,
Aleksey.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform