This topic is locked

After clicking on link, redirect to add page

9/12/2008 9:55:44 AM
PHPRunner General questions
V
vytb author

What would be the code to redirect to add page after clicking on the child link if child does not exists?

Sergey Kornilov admin 9/12/2008

Use BeforeProcess event of child page for this purpose. Check the number of records and redirect to the Add page if required.
Selected master table foreign key is stored in $_SESSION[$strTableName."_masterkey1"]
More info: http://www.xlinesoft.com/phprunner/docs/ph...n_variables.htm