Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help in using EOF for searching

Status
Not open for further replies.

zhed0708

IS-IT--Management
Jun 25, 2011
41
PH
I am searching the last record i save using the BOF() but it does not search the last record instead the first record viewed.

whats wrong in my code?

SELECT transaction
SET ORDER to id
LOCATE FOR name = ALLTRIM(thisform.txtname.Value)
IF FOUND()
IF !BOF() then
thisform.txtctcnum.Value = ctcnum
thisform.txtdateissued.Value = dateissued
endif
ENDIF


zhed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top