brettatexplace
Technical User
I would like to put a button on a form. When selected by the user, it would run a query of the database, adding values and arriving at a total. Then I want to assign the arrived at total to a variable on the form. Is there VBA to do this that I can put under the On_click of my button??
ex: value_is = query.CalculateIt.field_I_want
[myfield] = value_is
Is there something like this that would work?
ex: value_is = query.CalculateIt.field_I_want
[myfield] = value_is
Is there something like this that would work?