This topic is locked

Edit details on master view page

8/16/2010 12:51:18 PM
ASPRunnerPro General questions
T
Tim author

Hello,
Is it possible to add/edit detail records while on the view page of the master record?
Thanks,

Tim

A
ann 8/17/2010

Tim,
unfortunately no.

As workaround you can add/edit details on the add/edit pages of master table.

E
electromotive 8/18/2010

Ahhh, just just looking for this. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=51955&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />
On the view page. I need to add a button on the bottom, beside the "back to list" which takes me to the edit page of this record.

A
ann 8/18/2010

Hi,
here is a sample redirect button code (HTML mode of the Visual Editor tab):

<input type=button class=button value=Edit onclick="window.location.href='tablename_edit.asp?editid1={$custom_link}';">



Then fill in the custom_link in the Before display event on the Events tab:

xt.assign "custom_link", Request("editid1")