CFMMaker Discussion
Posted By : |
|
fivenorth
(Reply to fivenorth)
|
Time : 2004/6/10 21:41:19 |
|
Hello:
Is it possible to display a foreign key as a different related value in a list or view page? For instance... Let's say I have an Order table with a CustomerID field (foreign key from Customers table). However, I don't want to display the CustomerID in the list or view page of the Orders table, but instead want to display the Company Name from the Customers table.
Please advise. Thanks!
|
|
Webmaster
(Reply to Webmaster)
|
Time :2004/6/11 04:53:46 |
|
To display the company name in customer table in the order list page, you can following these step:
1) select the CustomerID field in Order table
2) in The Edit Tag Panel (right bottom corner) choose "SELECT" as Edit tag.
3) checked "Use Table"
4) select "Customers" table in "Table Name" field.
5) select "CustomerID" in "Link Field" field.
6) select " Company Name" in "Display field #1"
And you can also refer to our tutorial "Selection List with Dynamic Option" in the help file, the first 2 steps are exactly the same.
|
|
|
|
Products
|