I am using LibreOffice 5.3 and working on a many-to-many relationship. I am using an intermediate table to allow the relationship, but when entering data I would like to be able to populate the sub form from a drop down menu.
I am looking at something like an order form where descriptions rather than part numbers are used.
I know that it is possible to have this arrangement in Columnar format, but I have been unable to figure out how to do it in the “Data Sheet” arrangement.
Is this possible to do and how?
EDIT:
I am working with a pull-down menu in the main form in much the same way that you have designed FilterDemo.odb. However, I am working with a sub form that is in Data Sheet “Tabular” format for clarity.
The entries in the Data Sheet “Tabular” format MUST match an external table (a single character changes the meaning: this vs thin).
I am entering in Data Sheet “Tabular” format so that the transcription of the information is simpler. (I do not want duplicates and I may have 2 or 200 items in the table on the sub-form.)
I can enter the information in the format that you recommend, but must then ensure that I know not only what entry I am on, but which entry I just completed.
From your example (sorry, I cannot upload the revised file):
The Bike Table is altered. Bike_Alt: ID_Bike, Bike_Make.
New tables are created:
Color: ID_Color, Color_Desc
Wheels: ID_Wheels, Wheels_Desc
Bike_x_Color: ID_Bike, ID_Color
Bike_x_Wheels: ID_Bike, ID_Wheels.
This parallels my many-to-many relationship.
The main form contains Bike_Alt.
Sub Form 1 involves Bike_x_Color and should allow for the color to be selected from a pull-down menu in tabular format (assuming that the bikes may have more than one color per bike).
Sub Form 2 is similar for wheels.
Hopefully, this clarifies what I am trying to do.
Here is the Sample using FilterDemo.odb:
FilterDemo.odb
Here is the database set up in a similar manner to that I am working on. The sub Form does not contain the value for Color, just ID_Color.
Here is the Sample file.
Bike_3.odb