OpenEdge 11.5.1, Windows 10 Pro
I have problem with delayed sync between browses using prodataset with relation defined.
I have window with two browse widgets - one for documents and one for document lines. Data is stored in model class.
After top-nav-query:query-open() data is displayed correctly in both browses. First document in document browse is selected and its lines displayed in lines browse.
On first mouse click on another document in document browse, lines browse still displays lines for first document.
On second and following clicks on another or same document, lines browse already displays correct lines.
Example attached. To reproduce:
1. Run browse-win.w
2. Click <1. Get data>;
3. Click <2. Open top nav query> - first line (ID = 1) in document browse is selected and lines for selected document are displayed in lines browse;
4. Click on line with document with ID <> 1. In lines browse lines for document with ID = 1 still displayed;
5. Click on any line with document with ID <> 1. In lines browse correct lines are displayed.
I may miss something?