G
Guest
I must use two queries on a form because having just one query won't allow me
to be able to calculate the Total for a field and also allow me to change a
combo box.
So I have one query on my form that allows me to change the ingredients
being used in another table. I have another query that calculates the cost
for all of the ingredients used and totals their amounts. The query works
fine in totaling the amounts for each menu item, but in the Detail section on
my form, I put in an unbound text box and set the control source equal to the
expression in the second query.
In the query I set the criteria as the combobox used in the detail section
of my form. In the textbox on my form, however, it says Name? instead of the
total for that ingredient item.
I have read many posts for this error, but I do not know how to get around
calculating this text box in the manner that I am doing.
Any help would be great. Thank you for your time.
to be able to calculate the Total for a field and also allow me to change a
combo box.
So I have one query on my form that allows me to change the ingredients
being used in another table. I have another query that calculates the cost
for all of the ingredients used and totals their amounts. The query works
fine in totaling the amounts for each menu item, but in the Detail section on
my form, I put in an unbound text box and set the control source equal to the
expression in the second query.
In the query I set the criteria as the combobox used in the detail section
of my form. In the textbox on my form, however, it says Name? instead of the
total for that ingredient item.
I have read many posts for this error, but I do not know how to get around
calculating this text box in the manner that I am doing.
Any help would be great. Thank you for your time.