Longer explanation is here: https://www.accessforums.net/program...view-8186.html
Short summary is I've got a subform in a datasheet form that pulls total weights of segments in from a totals query. I set a field in the form equal to the subform field because I can't set it directly.
I was wondering if the DLookup function work better here for what I want to accomplish. I was thinking something along the lines of:
Code:
Me.DetailedWeight = DLookup("[SumOfWeight]", "qrySegmentWeights", _
"'[Segment] =" & Forms!sfrmSegments!Segments'" AND _
"'[JobNumber] =" & Forms!sfrmSegments!JobNumber'")
But I'm not exactly sure how to write it, or if this is even a correct way of solving my problem.