PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → :: HSeek and Native/OLEDB Access
:: HSeek and Native/OLEDB Access
Iniciado por kwillis, 26,ene. 2004 02:16 - 2 respuestas
Publicado el 26,enero 2004 - 02:16
I have an Access database and I'm using HSeek
to locate a particular group of records.
It locates the record, but FileToScreen()
does not grab the correct record data
and place it in the screen controls.
Can this be corrected?
Publicado el 26,enero 2004 - 02:36
The following line will force a server-side
update of the database cursor:
HRestorePosition(HSavePosition(FileName))
IF HFound(Filename) THEN
HRestorePosition(HSavePosition(FileName))
FileToScreen()
...
END

I have an Access database and I'm using HSeek
to locate a particular group of records.
It locates the record, but FileToScreen()
does not grab the correct record data
and place it in the screen controls.
Can this be corrected?



http://www.westcoastsoftwaresolutions.com
Publicado el 26,enero 2004 - 08:35
Kevin,
Use a Hreadseekfirst(file,keyy, variable to search for) to set the file to the correct record first.
EXample
HReadSeekFirst(Myfile, Mykey, current record)
if hfound then
FileToScreen(Myfile)
I have an Access database and I'm using HSeek
to locate a particular group of records.
It locates the record, but FileToScreen()
does not grab the correct record data
and place it in the screen controls.
Can this be corrected?