Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
INDEX ON failed if SET DELETED OFF in buffering
Message
De
03/01/2001 07:51:48
 
 
À
03/01/2001 06:44:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00458829
Message ID:
00458846
Vues:
16
You can't index a table that is in table buffering mode. The SELECT-SQL is probably just doing a SET FILTER on the MyTable table, so the INDEX ON fail because MyTable is table buffered. Remove the CURSORSETPROP("buffering", 5) line and the INDEX ON will run without errors.

HTH
>How do I INDEX my cursor if SET DELETED OFF when buffering?
>
>I get error with the following code:
>SET DELETED OFF
>SET MULTILOCK ON
>USE mytable AGAIN SHARED
>CURSORSETPROP("buffering", 5)
>
>SELECT f1, f2 ;
>   FROM mytable ;
>   WHERE f1 = "111" ;
>   INTO CURSOR mycursor
>
>INDEX ON f1 TAG f1 OF mycdx.cdx
>&& ERROR - 1579 Command cannot be issued on a table with cursors in table buffering mode.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform