on 05-11-2016 11:15 PM
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?
Hi James;
Have you looked at the "ReSelectRow" command for this?
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks guys,
You are extremely helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.