Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter en SEEK
Message
From
03/10/2005 15:46:36
 
 
To
03/10/2005 15:35:39
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:
01055613
Views:
22
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.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform