Hello
I have a database representing an inventory where objects are classified as normal or containers. Only containers can contain other objects and no object can be contained in more than one container. I use two tables, one listing the objects and the other table listing the relationships between objects and containers (which object is contained in which container).
The second table uses a form in order to add data. The form has a combo box that lists objects that are not contained yet. It uses a query to do that. The query lists all the objects from the first table that are not contained in the second. After adding some data on that table I close the form. The next time I open it, I cannot see the values of the objects in the combo box, although the table contains them.
I guess that the reason why the combo box does now show the values (to answer my own stupid question) is the fact that the query does not return values that are already there. So the question becomes, is there a workaround to circumvent that, when something actually exists in the field or should I add another box that will just display the value of the field of the current record?
Thanks
George
P.S. Pardon the seemingly double post but I didn't realize that two questions don't fit in the same thread.
I have a database representing an inventory where objects are classified as normal or containers. Only containers can contain other objects and no object can be contained in more than one container. I use two tables, one listing the objects and the other table listing the relationships between objects and containers (which object is contained in which container).
The second table uses a form in order to add data. The form has a combo box that lists objects that are not contained yet. It uses a query to do that. The query lists all the objects from the first table that are not contained in the second. After adding some data on that table I close the form. The next time I open it, I cannot see the values of the objects in the combo box, although the table contains them.
I guess that the reason why the combo box does now show the values (to answer my own stupid question) is the fact that the query does not return values that are already there. So the question becomes, is there a workaround to circumvent that, when something actually exists in the field or should I add another box that will just display the value of the field of the current record?
Thanks
George
P.S. Pardon the seemingly double post but I didn't realize that two questions don't fit in the same thread.
Comment