My thanks to the author of faq702-5248...
I need it -- but I can't get it to run. Is most likely a result of my inexperience with VBA.
I need to have the running sum appear on a subform.
In the code cited, pkName and pkValue are used. If pkName (in my case, [TransID]) is on the subform, do I need to use the syntax to reference it as a subform field? If so, how?
I don't seem to understand what pkValue is. Should that be changed to the name of the field that holds the value that I want to create a running sum from?(pardon the grammar).
Also, I don't know for certain how to put code in a form module. Do I open the subform in design view and click Code to open the window where the Private Function SubSum() should be?
Thanks for all your help.
I need it -- but I can't get it to run. Is most likely a result of my inexperience with VBA.
I need to have the running sum appear on a subform.
In the code cited, pkName and pkValue are used. If pkName (in my case, [TransID]) is on the subform, do I need to use the syntax to reference it as a subform field? If so, how?
I don't seem to understand what pkValue is. Should that be changed to the name of the field that holds the value that I want to create a running sum from?(pardon the grammar).
Also, I don't know for certain how to put code in a form module. Do I open the subform in design view and click Code to open the window where the Private Function SubSum() should be?
Thanks for all your help.