OK, that is what I suspected . . . I did what you suggested (remove the recordset from the call and move the code to the form's module so that me.recordset is known) and IT WORKED!! Geez, this should honestly be posted on Allen Browne's page (if it's not already), I am going to use this so...
Yep! You are right, however, I only changed it to MyDsum after the #Name? error was produced on the original dsumrecordset so, unfortunately, that doesn't solve the problem. The function's code is not triggering. Here is the code fixed:
Public Function MyDSum(expr As String, RcrdSet As...
thread702-1608030
I would really love to use the function provided by MajP called dSumRecordset, however, I cannot get it to work? I am using Access 2016. I put in another function with a break point on the first line to ensure vba was triggering. The function I wrote is triggering but...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.