how to passing master value to details value after click add

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
danels
User
Posts: 53

how to passing master value to details value after click add

Post by danels »

How to passing master value fields to details value fields?
The master table primary key already link with the foreign key details table.

After click add button on master table. It goes to details table. But i would like to pass the value from master table field to details table field?

Note: its already link because if i directly go to details table and select the foreign key it automaticly display the fields value i wanted. But if i click the page from add on master page. It wont passing the master field value.

Hope you could understand what i mean. Please pardon my english. Thanks


mobhar
User
Posts: 11761

Post by mobhar »

You may simply use a session variable.


Webmaster
User
Posts: 9430

Post by Webmaster »

danels wrote:
After click add button on master table...

danels wrote:
But if i click the page from add on master page...

Exactly from which page of the master table you go to which page of the detail table? Which "add button" did you click? Did you mean the Add button in the master record's preview row? Please describe more clearly.


Post Reply