zelarra821
Registered User.
- Local time
- Today, 15:52
- Joined
- Jan 14, 2019
- Messages
- 809
Hello.
Let's see if someone can help me.
@MajP made me an example to, for example, save multiple authors in case a book had more than one. I have tried to contact him, but there is no way, I suppose he will be busy.
It consists of having a union table (TLibrosAutores), where the Id of the book (from the TLibros table) and the ID of the author (from the TAautores table) are stored.
In the CLibrosAutores query it is the same as the TLibrosAutores table, but adding the fields of the Book and the Author.
InConsulta1 I show how it would work in a form. Basically, it is to use a function created for this specific case that what it does is concatenate the authors there are for a book and display it in a text field. I have two fields, one for the id and the other for the author.
What I want to know is if an author is repeated in more than one book.
What is the problem? That a book can have an Author 1 and an Author2, and only Author1 have written another different book. In this case, Author1 should come out as a repeated author, and author2 not.
I don't know if I have managed to explain myself.
Thanks
Let's see if someone can help me.
@MajP made me an example to, for example, save multiple authors in case a book had more than one. I have tried to contact him, but there is no way, I suppose he will be busy.
It consists of having a union table (TLibrosAutores), where the Id of the book (from the TLibros table) and the ID of the author (from the TAautores table) are stored.
In the CLibrosAutores query it is the same as the TLibrosAutores table, but adding the fields of the Book and the Author.
InConsulta1 I show how it would work in a form. Basically, it is to use a function created for this specific case that what it does is concatenate the authors there are for a book and display it in a text field. I have two fields, one for the id and the other for the author.
What I want to know is if an author is repeated in more than one book.
What is the problem? That a book can have an Author 1 and an Author2, and only Author1 have written another different book. In this case, Author1 should come out as a repeated author, and author2 not.
I don't know if I have managed to explain myself.
Thanks