Position locator is not working with the same search value after the filter is changed
Attached is example program which displays the problem that I found with the position locator. This example has NetWebform containing the a NetWebBrowse. The form has buttons that set a session variable and then refresh the browse. The session variable is used in the browse’s conditional filter which changes the records displayed. After pressing the form button to change the filter on the browse table, the locator will not work with the same search string used before the filter was changed. With the attached app, compile and run the program. I am currently using NT7.27. Via the web browser, follow these steps exactly
- Click on the Multi Table Example button
- Enter “t” in the search field and press the Search button, browse will locate on the first facility being with “T”.
- Press the “Closed Audits” button, the browse will show a complete new set of records starting at the top of the list.
- Enter “t” the search field and press the Search button and the locator does not work. You can enter a different value in the search field and the locator will work.
This does not appear to be big issue, but users will often use the same search string in different categories (filters) , and the browse does not appear to be working for them. I tell the users to clear the search field, push the search button, then enter the search value again which works, but they would like it fixed.
If the problem can be fixed by clearing a session variable when the session variable for the conditional filter is reset that would be nice to know, before the problem is fixed in a future update.
Rob
[attachment deleted by admin]