I created a subform with DLookup formulas, which can be reviewed in my question posted in the following link.
https://www.accessforums.net/access/...ria-57104.html
The subform by itself is working well but, when I add the subform to a main form, I am getting an error (used qty and used totals).
Can someone point me at possible causes?