This topic is locked

2 Master Table questions

9/16/2008 6:52:17 PM
ASPRunnerPro General questions
Y
yairilan author

Hello,

I need help with 2 issues related to Master Table please:

  1. If I click on add new/edit in a master table screen. After the record was add or edit - how can I get back to the master table with the same key insted of getting back to the table's regular list page? ( I'll be happy if someone will give the code for it ).
  2. Is there a way to show only the master table without the table itself in the menu? What I mean is that the user will be able to get to a table and do actions like add or edit only from the master table's list and not directlly from the menu?

    Tx very much,

    Yair.

J
Jane 9/17/2008

Hi,
please see my answers below:

  1. use After record added event and Redirect to another page action on the Events tab for this purpose.

    Here is a sample:
    Response.Redirect "TableName_view.asp?editid1=" & keys("RecordID")



where RecordID is your actual field name, TableName is your actual table name.
2. to remove table from menu uncheck corresponding option on the Datasource tables tab.