Xbasic

FORM.FIND_PREV Function

Syntax

.Find_Prev()

Description

The .FIND_PREV() method repeats the Find by Form, finding the previous record.

Example 

This example finds the first record in the Customer table of AlphaSports that has a lastname value equal to "McDonald".

dim frm as P
frm = form.view("Customer Information")
frm.find_by_form()
frm.lastname.activate()
frm.lastname.value = "McDonald"
frm.find_run()' we found it
frm.find_next()' just for illustration
frm.find_prev()' back where we were
frm.find_exit()

Limitations

Desktop applications only

See Also