Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorAdapter en SEEK
Message
De
04/10/2005 09:32:56
 
 
À
03/10/2005 15:46:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01055601
Message ID:
01055826
Vues:
20
>Veronica,
>
>>Hola.. Alguien pudiera decirme como puedo utilizar el comando SEEK en un Cursoradapter? Una vez que lo abro en el entorno de datos, basado en una tabla VFP, ncesito hacer busquedas con SEEK y me da error diciendome que el indice no existe....Gracias
>
>Perhaps someone can translate this to Spanish:
>
>You can put code into the AfterCursorFill() event method to index the cursor (note that you need to set buffering to ROW):
WITH THIS
>SELECT (.Alias)
>* set to row buffering if we're in table buffering mode
>IF .BufferModeOverride = 5
>  CURSORSETPROP("Buffering", 3, .Alias)
>ENDIF
>* create one or more index tags
>INDEX ON customer TAG customer
>INDEX ON state TAG state
>* set the buffering back if we changed it
>IF .BufferModeOverride = 5
>  CURSORSETPROP("Buffering", 5, .Alias)
>ENDIF
>ENDWITH
After doing this, you can seek into the cursor.

Gracias, perdon por no escribir en ingles, pero quisiera saber si en grandes volumenes de informacion que tenga una tabla, afecta el rendimiento, es decir yo creo el indice pero con los datos que tengo localmente, como funciona en este caso la indexacion para realizar las busquedas en un servidor remoto eficientemente. Gracias de nuevo
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform