searching in a database

searching in a database

Postby jds » Fri Dec 01, 2017 5: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
jds
 
Posts: 122
Joined: Sat Dec 05, 2009 12:44 pm

Re: searching in a database

Postby vilian » Fri Dec 01, 2017 6: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
User avatar
vilian
 
Posts: 975
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 79 guests