Hi People,
Here is my TV Series database. At least an example of that, because the original one is hosted on a MariaDb Server.
series.odb (14.9 KB)
I would to use the given form to input de series data in the database.
Therefore, in the first form we type in the serie’s details (title, first aired, …)
In the second form, linked by the ‘seriesId’ to the first one, we input the crew member. (Actors, Directors, …)
The actors have ‘roleId = 2’
The third form is the casting. It is linked by the ‘seriesId’ and the ‘actorId’ to the ‘Crew’ form.
I tried this SQL query to display the actors in the ‘Actors’ column :
SELECT P.PERSONNAME, P.PERSONID FROM PERSON AS P JOIN CREW AS C ON C.PERSONID = P.PERSONID JOIN ROLE AS R ON R.ROLEID = C.ROLEID JOIN SERIES AS S ON S.SERIESID = C.SERIESID
But, the list displays the whole crew.
I would like to filter this list to display only the actors.
Therefore, I need a macro. But, I don’t know about macros.
Could someone help me please ?