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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move pointer to a certain record in Browse

Status
Not open for further replies.

newtoclarion

Programmer
Jul 20, 2011
66
SA
Hello everybody,
I have this update screen which contains input fields and a browse.
THis browse is codes file which contains code and description, the code field is related to a field in the table used in the update screen.

when I enter the update screen, the codes table browse show all the records and the pointer is located on the first record,

what I want is the codes table browse to show all the records and the pointer to be located on the matching code of the update screen
 
Hi!

Are you using the ABC or Clarion template?

If ABC, <BrowseObject>.ResetFromBuffer() will help.

Assuming COD:ID is the primary key column in the CODES table that is being displayed in the Browse, you can :

COD:ID = <value>
Access:CODES.Fetch(<PrimaryKey>)
<CodesBrowseObject>.ResetFromBuffer()

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top