Hi,
I have a subform which is linked to a table on which I have a set of comboboxes and textboxes. When data in the comboboxes is chosen, the textboxes populate with numbers and the underlying table is populated.
I also have an unbound textbox which calculates using a function the sum of the values in the textboxes. I don't need to store this value, it's only for display. When I open the subform independently the value in this unbound textbox shows correctly, but when I open it using the main form the value shows as 0, and only updates when I choose something in one of the comboboxes. I also tried calling the function from the main form, but that definitely sets the value to 0.
I have tried requerying the controls from the main form on open/load etc. What am I missing here???
Help appreciated.
Ginny
I have a subform which is linked to a table on which I have a set of comboboxes and textboxes. When data in the comboboxes is chosen, the textboxes populate with numbers and the underlying table is populated.
I also have an unbound textbox which calculates using a function the sum of the values in the textboxes. I don't need to store this value, it's only for display. When I open the subform independently the value in this unbound textbox shows correctly, but when I open it using the main form the value shows as 0, and only updates when I choose something in one of the comboboxes. I also tried calling the function from the main form, but that definitely sets the value to 0.
I have tried requerying the controls from the main form on open/load etc. What am I missing here???
Help appreciated.
Ginny