PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 2024 → :: HSeek and Native/OLEDB Access
:: HSeek and Native/OLEDB Access
Iniciado por Kevin Willis, jan., 26 2004 2:16 AM - 2 respostas
Publicado em janeiro, 26 2004 - 2:16 AM
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 em janeiro, 26 2004 - 2:36 AM
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 em janeiro, 26 2004 - 8:35 AM
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?