Metodo Seek tDatabase
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon Jun 11, 2007 3:20 pm
by Biel EA6DD
En el metodo Seek de tDatabase, solo cargar el buffer si se ha econtrado el registro.
- Code: Select all Expand view
if ::lBuffer .AND. lFound
::Load()
endif
AƱadir .AND. lFound
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon Jul 02, 2007 7:56 pm
by RenOmaS
Que pasa cuando es SoftSeek?
creo que el found devuelve .F.
Saludos
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Tue Jul 03, 2007 7:30 am
by Biel EA6DD
Si con softseek devuelve falso, se podria cambiar la linea de la siguinete manera.
- Code: Select all Expand view
if ::lBuffer .AND. ( lSoft .OR. lFound )
::Load()
endif
o tambien
- Code: Select all Expand view
if ::lBuffer .AND. ! ( ::nArea )->(Eof()) )
::Load()
endif