Hello
Access 2007
I'm about at my witts end with trying to get this to work. I hope someone can solve this form me, or lead me in the right direction.
I have a main form (frm_WO). I have a subform (frm_WO_Details_Subform). (one to many)
Master link field is: WO_WorkOrderNo (which is an autonumber field)
Child link field is: FK_WONumber.
I have no problem viewing any of the records the way they should be.
I have a field in the subform called "WO_Details_Cost" (which I need to be totaled) this is a currency field.
I also have 3 other fields that I need to total as well, but I can take the solution from the Cost field calculation and apply it where needed.
I have tried (in the subform footer) to used Sum, Dsum and I even tried doing a Select Sum(......). But I keep getting the #error in the textbox that I want the total to show up in. (I will end up putting this value in the main form form header, but have not gotten to that point yet.
In the subform footer I have tried
=Sum([frm_WO_Details_Subform]![WO_Details_Cost] --- #error
=Dsum([frm_WO_Details_Subform]![WO_Details_Cost],"qry_WO_Details","[frm_WO_Details_Subform]![FK_WONumber]= " Me.[WO_WorkOrderNo] --- got the same #error
And of course the Select statement did not work at all....
I would sure appreciate a hand with this. It's holding me back from completing my project.
Thanks So Much
Terry