I have tried searching through these forums for an answer and I thought I found one, two actually, but I still can't seem to make things happen on my end. I appologize first off because I have very limited Access knowledge outside of some basics.
Here is my situation. I have 8 fields for cost, labeled items$1, items$2 etc. I created a total amount (total$_items) box with an expression =Nz(items$1)+Nz(items$2)... etc. in the control source, which gives me the total amount of items. This is fine but it does not write this number to the table (I now know why i.e. formula in control box) field name the same.
I found a thread very similar to mine that used a round-about way to make this work. It suggested (but did not endorse saving calculated values) to create a hidden box on the form with the same formula, then set total$_items control source back to the table. It also said you needed to go into the "current event" for the form and tell total$_items to = hidden text box. I tried this but since I have no idea how to code I simply tried to duplicate the code in the other thread using my lables and boxes etc. The end result is that the hidden box calculates things as it should but no value is displayed in the items$_total box.
I am still learning slowly how to make my database better but unfortunately I can not start from scratch as I have over 6 months of data in it now and need to start summarizing it shortly
So any assistance would be greatly appreciated.
Here is my situation. I have 8 fields for cost, labeled items$1, items$2 etc. I created a total amount (total$_items) box with an expression =Nz(items$1)+Nz(items$2)... etc. in the control source, which gives me the total amount of items. This is fine but it does not write this number to the table (I now know why i.e. formula in control box) field name the same.
I found a thread very similar to mine that used a round-about way to make this work. It suggested (but did not endorse saving calculated values) to create a hidden box on the form with the same formula, then set total$_items control source back to the table. It also said you needed to go into the "current event" for the form and tell total$_items to = hidden text box. I tried this but since I have no idea how to code I simply tried to duplicate the code in the other thread using my lables and boxes etc. The end result is that the hidden box calculates things as it should but no value is displayed in the items$_total box.
I am still learning slowly how to make my database better but unfortunately I can not start from scratch as I have over 6 months of data in it now and need to start summarizing it shortly