I have to teach a class in Access, which I do anyway, but this is more complicated. How do I create calculations in a form? Easy in a query, but in a form? [sig][/sig]
add a textbox set it's control source (use the expresion builder,.. if you must ;-) ) same applies it has access to the data items available in the record set and other controls.
you may also need to use the .recalc method to dynamically update the results (avoid cicular references!)
then you have it, this is ok but queries are better as the record source has the calculations already done. (if you have a multi record subform you will see a lag between when the form is displayed to when the controls are updated!
as in queries the data source can also be a function, the same applies they are bound controls so you cant change/enter data into them.
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.