Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
No they are two differents sessions opened in the same form (Open twice).
>>Because they come from another software I can't do anything about it.
>>
>>>Why not? Structural indices have several advantages. The old-type IDX should only used in special cases, especially temp indices.
>>>
>>>Hilmar.
>>
>>>>>>My probrem is:
>>>>>>
>>>>>>I have a form (Private data session) with a table (Client.Dbf) in the data environnement. In the Init sequence of the Cursor I open indexes (set index to cnum.cdx). When I click on my Add button, I perform a Cursorsetprop("Buffering",4) on the table.
>>>>>>
>>>>>>If I open the same form again, I get a "Command cannot be issued on a table with
>>>>>>cursors in table buffering mode" on the Set index to Cnum.cdx command.
>>>>>>
>>>>>>If the Buffering mode is Row, all's ok.
>>>>>>
>>>>>>Is there a way to open the same index two times in two differents data session?
>
>Benoit,
>As I can understand your problem comes from the fact that sessions are not different. Even in that case I think you could do that by temporarily setting buffering to row before set index.
>Cetin
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement