Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter en SEEK
Message
From
04/10/2005 09:32:56
 
 
To
03/10/2005 15:46:36
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01055601
Message ID:
01055826
Views:
15
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform