Hello everybody,
Another question from a newbie working on a database that is way too comlicated for him (but I'm learning alot )
My problem is with a form that is based on a query1 that mainly joins images (filenames) from a table to records in another query2. The Join includes ALL records from the image table and only those records from query2 where the join fields are equal. Here this means the images can have a join with a record or have a null value.
My form has a bound combobox that has query2 as its row source. Now, when I create a new record using the forms navigation buttons and I populate any of the other boxes that are bound to fields in query1, I get an error message because the combobox has tried to automatically create a new record in query2 (this goes wrong because there are null values in certain fields but that's not the problem).
But I don't want a new record in query1 to cause a new record in query2! I want the join to query2 to have a null value untill I populate it with an existing value.
What puzzles me is that when I work directly in query1, this problem does not arise. So I guess the error is in the form and/or its combobox properties.
If anyone has an idea what is going wrong here, I would be much obliged. I have tried to detail my problem as good as possible but I'm very new to all the right terminology so if anything is unclear, please ask.
Many thanks in advance!
Another question from a newbie working on a database that is way too comlicated for him (but I'm learning alot )
My problem is with a form that is based on a query1 that mainly joins images (filenames) from a table to records in another query2. The Join includes ALL records from the image table and only those records from query2 where the join fields are equal. Here this means the images can have a join with a record or have a null value.
My form has a bound combobox that has query2 as its row source. Now, when I create a new record using the forms navigation buttons and I populate any of the other boxes that are bound to fields in query1, I get an error message because the combobox has tried to automatically create a new record in query2 (this goes wrong because there are null values in certain fields but that's not the problem).
But I don't want a new record in query1 to cause a new record in query2! I want the join to query2 to have a null value untill I populate it with an existing value.
What puzzles me is that when I work directly in query1, this problem does not arise. So I guess the error is in the form and/or its combobox properties.
If anyone has an idea what is going wrong here, I would be much obliged. I have tried to detail my problem as good as possible but I'm very new to all the right terminology so if anything is unclear, please ask.
Many thanks in advance!