FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour searching in a database
Posts: 124
Joined: Sat Dec 05, 2009 12:44 PM
searching in a database
Posted: Fri Dec 01, 2017 05:23 PM

How to find the last record that matches a condition in a database file (searching in 1 field)
f.e. if there are 20 records of person nr 123 in a database file, how to find the last one added

Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: searching in a database
Posted: Fri Dec 01, 2017 06:50 PM

If you are using DBF files try this:
Seek(123,,.t.)

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil

Continue the discussion