in terms of a data structure you'd have something like
Code:
tblBooks
BookID BookName
1 The Name of the Wind
2 A Wise Man's Fear
tblPages
PageID BookID PageNum
1 1 1
2 1 2
3 1 3
4 2 1
5 2 2
6 2 3
tblWords
WordID Word
1 The
2 name
3 Kvothe
4 Denna
tblLines
Line_ID PageID LineNumber
1 1 1
2 1 2
3 1 3
tblLineWords
LW_ID Line_ID Word_ID
1 1 1
1 2 4
I'm assuming you're just giving an example of your problem where you have multiple layers of data
The concept is how to capture the data so that it's the easiest to capture (non duplication of data entry, in this case it could be handled easily with forms/subforms, or on an unbound form) and store in a method that's easy to reference the data. You could theoretically recompile the book from start to finish with this type of model. Again I'm assuming this is an example that is not related to your actual needs but you get the idea.