NetTalk Central

Author Topic: Differences with NT6.51 browse and NT7.05 browse.  (Read 2901 times)

Rob Kolanko

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Differences with NT6.51 browse and NT7.05 browse.
« on: February 13, 2013, 11:55:04 PM »
Hello,
I am having problems in getting my NT 6.51 server application to operate the same when compiled with NT 7.05.  

When my application is compiled with NT 7.05, the  WebNetBrowse will locate to the bottom of the list whenever a browse is redisplayed after a WebNetForm page  updates memory and not an update of the table in the browse.

The same application when compiled with NT 6.51, the browse is displayed after the form, the browse is located at the last record selected.  

This is a common practice where you want to do a process based on the selected record on the browse. I modified an previous example program to illustrate the issue.

Compile attached program view01.app with NT6.51. On the initial screen press the “Multi Table Example” button.  Then select any record on the  browse and press the “Some Process” button. The selected record field values are shown. Press the “Save” button and the form with the browse web page is displayed. The browse is located with the record that was recently selected.

Recompile the view01.app with NT 7.05 and follow the same instructions. This time after the “Save” button is pushed,  the browse is located at the last page of the list.  This confuses the user because they believe that may have processed the wrong record. This is an example program,  In my actual application, I need to use the “Save” button instead of the “Cancel” button to validate fields and return to the form with an alert message if user errors are present.

Is there a session variable that I can set within the memory form to ensure that the browse will locate the last selected record, like when the “Cancel” button is pressed?

Rob

[attachment deleted by admin]
« Last Edit: February 20, 2013, 09:32:37 PM by Bruce »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Differences with NT6.51 browse and NT7.05 browse.
« Reply #1 on: February 20, 2013, 09:35:49 PM »
I'm looking into it Rob, but one thing I immediately noticed is that you are using a "page" for the Process form. If you called this form as a popup it works as you'd want. (and it's faster because it doesn't have to refresh the whole page twice.)  Just a thought.

Cheers
Bruce

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Differences with NT6.51 browse and NT7.05 browse.
« Reply #2 on: February 21, 2013, 02:30:46 AM »
fixed in 7.06

Rob Kolanko

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: Differences with NT6.51 browse and NT7.05 browse.
« Reply #3 on: February 21, 2013, 07:26:23 AM »
HI Bruce,
Thank-you for the timely attention to my reports. In my example the process form is quite small and does not lead to other pages and thus if was an actual application, I would use a pop-up form. Often, I must use a page as the amount of data to be displayed is too much for a popup. The form may also contain other browses as well.
Rob

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Differences with NT6.51 browse and NT7.05 browse.
« Reply #4 on: February 21, 2013, 10:08:12 PM »
yeah, I understand. I only mentioned it because work-arounds, and/or alternatives are sometimes good to know.