cancel
Showing results for 
Search instead for 
Did you mean: 

Window Retrieve

Former Member
0 Kudos

When inserting a row in detail window, I have to reissue a retrieve() for the master window in order to display the new row.

When doing an update, I have to do a Retrieve() followed by a SetRow, and ScrollRow to display the updated row in the master and place the cursor on the active row.

Is there a more efficient way of doing this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi James;

  Have you looked at the "ReSelectRow" command for this?

Regards ... Chris

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks guys,

You are extremely helpful.

Former Member
0 Kudos

Hi James,

Good question. The only other technique I can think of is the use of ShareData between the master and detail.  This will only work if the master (list I assume) and detail (form I assume) have or can have exactly the same buffer. You don't have to show every the columns in both datawindows, they just have to have the same buffer layout to be able to share data. One advantage is that any column shown in both are automatically in sync and the master will show changes with the completion of each detail field.

Lars