38 Posts
CDCG
7 years ago
3
Topic

Hi, I have two tables from a pre-existing database that I imported into Seblod.  Each now have their own forms and I have no problem displaying their respective data.  These two tables have a one-to-many relationship and those fields (the original table keys; primary and foreign) have also been imported.  How can I re-stablish this relationship in Seblod?  I know of the Related Article field, but that appears to be for when you create new.  Thanks in advance.

Get a Book for SEBLOD
4229 Posts
Kadministrator
7 years ago
2
Level 1

You can use related article for existing articles as well, but  there is no auto relations import, you need to sett relations manually for each article.

38 Posts
CDCG
7 years ago
1
Level 2

Would the SQL field work?

4229 Posts
Kadministrator
7 years ago
0
Level 3

Depends - sql field can only show existing data - you need some data field to connect articles, usually they are related by ids which change on import.

Get a Book for SEBLOD