This topic is locked
[SOLVED]

 Linking View Pages from Master Table List

3/9/2009 11:43:00 AM
ASPRunnerPro General questions
B
bsmiller92 author

Hello

I've created a project that has a master table with 15 linked tables, whereas the linked tables show on the master list page. When I click on any of the links to the linked tables, it defaults to showing the list page of that table. What I would like is when any of those links are clicked on, the view page for that record shows instead of the list page, as the view page is in a format better suited for the user to see.
Any suggestions would be appreciated.
Thanks

Wyatt

J
Jane 3/12/2009

Wyatt,
you can change detail link in the List page: After record processed event on the Events tab.

Actual code is dependent on ASPRunnerPro version.

B
bsmiller92 author 3/13/2009

Wyatt,

you can change detail link in the List page: After record processed event on the Events tab.

Actual code is dependent on ASPRunnerPro version.


Hi Jane

I am running Version 5.1.
Thanks

Wyatt

B
bsmiller92 author 3/13/2009

Wyatt,

you can change detail link in the List page: After record processed event on the Events tab.

Actual code is dependent on ASPRunnerPro version.


Hi Jane

I was able to create the event to 'Redirect the Page', however, the page it re-directs to does not show the associated record.

It shows the page I want, but not the record.
Please help.

Thanks

Wyatt

J
Jane 3/13/2009

Wyatt,
Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.

B
bsmiller92 author 3/13/2009

Wyatt,

Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.


Hi Jane,

The project has been published to the Demo Account.
URL: http://demo.asprunner.net/bsmiller_co_luca..._QUERY_list.asp
Click on Card A link.
Wyatt

J
Jane 3/13/2009

Hi,
for example find this code:

<A id=master_CARD_A{$row.1recno} href="CARD_A_list.asp?{$row.1CARD_A_masterkeys}" ...



and replace it with this one:

<A id=master_CARD_A{$row.1recno} href="CARD_A_view.asp?editid1={$row.1SFN_value}" ...

B
bsmiller92 author 3/13/2009

Hi,

for example find this code:
and replace it with this one:


Hi Jane

That worked perfectly! Now my users don't have to click through extra links to get them to where they need to go.

You're the best!
Thanks

Wyatt