Move pointer to a certain record in Browse
Move pointer to a certain record in Browse
(OP)
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
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
RE: Move pointer to a certain record in Browse
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
RE: Move pointer to a certain record in Browse