Stevehewitt
IS-IT--Management
Hey,
This is making me scream. I was tempted to throw the computer out of the Window until the boss reminded me he would deduct my pay!
Basically, I have a subform (sub1) a main form (main1) and a field (field1). Field1 is in subform1, and the subform is a subform of main1. All I want to do is get the totals (added up) of field1 to be displayed in main1. Thats all. The control source which I am trying is:
DSum("field1","subform1",)
From what I have read in the help I don't need a criteria, but if VBA (seeing if I can get it to work in code) asks me for a "=" again I will scream.
Can anyone help this mad newbie?!
Thanks,
Steve.
P.S. Thanks to Rollie and Wemier for helping out earlier. Unfortunatly the DB was on my home comp and there was a accident. (E.G. My little sister thought it would be OK to have a fag whilst playing on my PC and...!)
This is making me scream. I was tempted to throw the computer out of the Window until the boss reminded me he would deduct my pay!
Basically, I have a subform (sub1) a main form (main1) and a field (field1). Field1 is in subform1, and the subform is a subform of main1. All I want to do is get the totals (added up) of field1 to be displayed in main1. Thats all. The control source which I am trying is:
DSum("field1","subform1",)
From what I have read in the help I don't need a criteria, but if VBA (seeing if I can get it to work in code) asks me for a "=" again I will scream.
Can anyone help this mad newbie?!
Thanks,
Steve.
P.S. Thanks to Rollie and Wemier for helping out earlier. Unfortunatly the DB was on my home comp and there was a accident. (E.G. My little sister thought it would be OK to have a fag whilst playing on my PC and...!)