Hi,
I have a form with a unbound combo box (Natcd) and a subform (Missing Proportion% subform).
The form and subform are linked with Natcd (master) and [Ingredient name] (child).
The record source of the subform is table Foodcomposition.
The subform is a continuous form. The fields on the subform should be updateable.
Field Ingredient on the subform gives me some troubles.
This field stores a code of which the description can be found in another table 'Food'.
I would like to insert the description of Ingredient to the subform,
but this means that the record source of the subform will be from two tables and not updateable any more.
So: has anybody any idea how to insert a field (this one should not be updateable) from table food in an updateable and continuous subform with record source table Foodcomposition?
Food and Foodcomposition can be linked by fields Ingredient.
This is the record source for the subform which is not updateable:
I hope someone can help me with this!
Thank you in advance,
Tep
I have a form with a unbound combo box (Natcd) and a subform (Missing Proportion% subform).
The form and subform are linked with Natcd (master) and [Ingredient name] (child).
The record source of the subform is table Foodcomposition.
The subform is a continuous form. The fields on the subform should be updateable.
Field Ingredient on the subform gives me some troubles.
This field stores a code of which the description can be found in another table 'Food'.
I would like to insert the description of Ingredient to the subform,
but this means that the record source of the subform will be from two tables and not updateable any more.
So: has anybody any idea how to insert a field (this one should not be updateable) from table food in an updateable and continuous subform with record source table Foodcomposition?
Food and Foodcomposition can be linked by fields Ingredient.
This is the record source for the subform which is not updateable:
Code:
SELECT Foodcomposition.Food, Foodcomposition.[Ingredient name], Foodcomposition.Ingredient, Food.Foodname
FROM Foodcomposition INNER JOIN Food ON Foodcomposition.Ingredient = Food.Ingredient
ORDER BY Foodcomposition.Food, Foodcomposition.Ingredient;
I hope someone can help me with this!
Thank you in advance,
Tep