This topic is locked

BACK TO MASTER TABLE

8/22/2005 5:55:37 AM
ASPRunnerPro General questions
Alberto author

Hello,
Using Master and Detail functionality:
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=1751&image=1&table=forumtopics' class='bbc_emoticon' alt=':blink:' /> I have been trying a lot, with no results, to figure it out why it does not go back to the master record when we click on a detail page "Back to Master Table". Instead, when it comes back to the main list, it shows the begining of it.

  1. Where should we change the code, in order to make it go back to the right record, the one was originally clicked to see the details records. (as it works when we click View or edit for example).
    Also would be great if this is added on the next version too...
    Thanks

Sergey Kornilov admin 8/22/2005

Alberto,
Thank you for this suggestion!

We'll add this feature in one of the following versions of program.

Alberto author 8/22/2005

Sergey, where can I change the code to solve it rigth now?

Sergey Kornilov admin 8/23/2005

Alberto,
I do not have this piece of code available yet.

Alberto author 9/2/2005

Sergey,
I found that when we are in the detail page showing the master record on the top.
The "Log out" link shows, on the status bar, the info (parameters) to go back to the page it was called.
I think that is what we should use in the link "Back to master table" that Now it sends you always to the first page and not to the one it was called from.
Please help me to fix this problem. Thanks

Alberto author 9/7/2005

I am using the last official version of the ASPRunner pro, even though I downloaded again anyways. But, the problem is still there.
Please don't misunderstand the problem. Please Check the next:
"Back to Master table" Should work like "Back to list"
Example:
"Back to Master table"
Goes back to:

www.MyWeb.com/test/testnewv/tbContratos_list.asp
AND IT SHOULD GO BACK TO:

www.MyWeb.com/test/testnewv/tbContratos_list.asp?TargetPageNumber=11&action=goto&lang=&orderby=&dir=&PageSize=20&masterkey=&SearchField=AnyField&SearchOption=Contains&SearchFor=&PageSizeSelect=20
So, in other words it does not go back to the right page and record selection. It just goes back to the beginning of the list and the users get lost of what they are doing. Whe you have thousands of records it is really a big problem. The have to select the records again and page down until the find the same or next record to work. Thanks for the help.

Alberto author 9/7/2005

Sergey I just sent by e-mail, you special generated for you, project, asp and all the files generated by ASPRunner.
Please consider that the problem is as obvious as that I am sure you do not need my files, just check your own ASP test pages including a master and detail pages with few records in it. And you will figure it out easily.

Thanks

Alberto author 9/11/2005

Thanks for the solution. It wors ok