Hi,
i've readed some times your guide, and i got the theory of build subforms to filter the results, but i find very difficult to actually apply the concepts to my problem.
Reading your guide, it seems to me that the example that better fit my problem is the example2, and since the guide is very "theorical" i've downloaded the students2.odb example database to try to understand how to apply the concepts to my problem but now i'm a bit puzzled.
Correct me if i'm wrong, but as far as i can understand, your example is about the use of 2 listbox to launch something like a variable query on a
single table to apply two WHERE clauses based on what the user have selected, and the main purpose of the listboxes is to select the data to visualize in the grid, not to write something in a record.
Since all the works are done on a
single table i understand how you have nested the actual "main" grid under the two other form that you have used to filter the resul of the grid.
I don't understand how to apply those techniques to my
three tables problem where the 2 listbox are used to select data from two different tables and write them on a third table that i think i can not nest under the listbox forms.
I'll try to make an example to "visualize" my problem:
- in the "tableA" of my example you have the characteristics of a thing: name, color, weight, "
book in wich is described, "
number of the chapter of the book in wich is described", etc etc
- in the "tableB" you have the name of the books that you have in your library
- in the "tableC" you have all the reference points of your books: a name of a book (in realtion one to many with tableB), the chapter numbers, and a brief description of the chapter
My form should visualize one by one all the "things" in tableA, and i need to have a first listbox where i can choose one book from "tableB" and write its name in tableA, than, the second listbox, should let me chose only the references in tableC that comes from the book i've chose in the first listbox, to select the reference point in the book in wich the thing of tableA is described and wirte it in tableA.
Thanks for any help
