• Jueves 28 de Marzo de 2024, 20:42

Autor Tema:  Moverme Al Ultimo Registro  (Leído 1704 veces)

Alberto_127

  • Miembro activo
  • **
  • Mensajes: 64
    • Ver Perfil
Moverme Al Ultimo Registro
« en: Miércoles 8 de Junio de 2005, 23:42 »
0
hola alguien sabe como posicionarme en la ultima posicion de mi base de datos?, mejor dicho en un tabla, dependiendo de un campo. gracias.

shackletta

  • Nuevo Miembro
  • *
  • Mensajes: 22
    • Ver Perfil
Re: Moverme Al Ultimo Registro
« Respuesta #1 en: Jueves 9 de Junio de 2005, 17:49 »
0
Hola, para posicionarte en el último registro de una tabla tienes los métodos de para las tablas:

-Last()-> Pasa al último registro de la tabla
-FindLast()-> Devuelve true si puede pasar al último registro de la tabla

En la ayuda del Builder aparece esto:

FindFirst   Move to the first record that matches the current filter criteria. The search for the first matching record always begins at the first record in the unfiltered dataset.
FindLast   Move to the last record that matches the current filter criteria.
FindNext   Moves from the current record in the filtered dataset to the next one.
FindPrior   Move from the current record in the filtered dataset to the previous one.

Lo que pasa es que no sé si es esto lo que necesitas, porque pones "dependiendo de un campo",  porque no te explicas un poco más??

Un saludo.
[size=109]Sólo sé que esto no va a terminar conmigo, sin embargo yo sí que lo terminaré a él.[/size]

Alberto_127

  • Miembro activo
  • **
  • Mensajes: 64
    • Ver Perfil
Re: Moverme Al Ultimo Registro
« Respuesta #2 en: Martes 14 de Junio de 2005, 19:54 »
0
grazias px tu ayuda, ya solucione el problema, te lo agradezco