Hi all

I would like to know how to do the following design/coding with Drupal:
- create two tables, and a relationship one to many from table A to table B
- create data entry forms to populate these two tables. a regular form for table A and a master/detail form for table B
- create queries and views that show the content following different criteria.



steeph’s picture

Edit: Sorry, posted in the wrong thread ^^

steeph’s picture

Now my actual answer.

You'd probably want to create two content types (A and B), add the fields to them that you need, one of them being a Reference field to the other content type. With the Views module you can create your queries etc.