Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By jsn on
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.
Thanks
Comments
Edit: Sorry, posted in the
Edit: Sorry, posted in the wrong thread ^^
Now my actual answer. You'd
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.