reposition-to-rowid

Yohn

Member
Hy.
I have problem: I don't know how to when I have browse and on double click on it, it just close and position on browser in main window.

I have main window, and on that window I have button search. When I fire it opens dialog box with fill in, and browse. In fill in I write words, and then on click on button Search (which is on that program) I have records. But I want to when I choose one record, and double click on it, that that program closes, and on main window positions on same record which I choose.

thx.
 

Casper

ProgressTalk.com Moderator
Staff member
There is more then one way to do that.
One would be to return the rowid as a parameter to the main program and use that to reposition the browse to that record:

Code:
  {&BROWSE-NAME}:query:reposition-to-rowid (<rowid>).

Casper
 

Yohn

Member
ok, thanks. But what do I have to do that program copies result from one program browse to main program to repositioned row in browse of main window.
thx.
 
Top