× Pleas keep in mind that SPAM will be deleted instantly

Pro Version: Totally confused about subtemplates

More
8 years 11 months ago - 8 years 11 months ago #3298 by GuiGuy
I am slowly being driven mad by trying to implement sub templates, so maybe you can help?

I have two tables "Customers" and "Customer_Types"

Customers is the primary table. In the Customer Table is a field named "Customer_Types_ID". This field is used to build a relationship 1:n with "Customer_Types" PK index field `ID`.

OK, so my JooDB is "Customers"
Now I create a sub template/ table called "CustomerTypes"
In the sub template I see no way to link
`Customer_Types_ID` = `Customer_Types`.`ID`

So, when I insert the subtemplate into say the catalogue template I get lovely looking blanks.

What am I missing here?

Thanks
Last edit: 8 years 11 months ago by GuiGuy.

Please Log in to join the conversation.

Moderators: Dirkjoest