• override query calculation (a2003)

    Author
    Topic
    #411810

    I have a form based on a query and some of the form controls display the results of calculated fields in the query because the user wants to do a visual check of the results. The user wants the ability to override the calculation and enter their own figure if they desire. That figure would need to saved in place of the calculation in the underlying query because those values will be summed in subsequent query.

    Has anybody had to deal with anything like this? And, if so, what was your strategy?

    E

    Viewing 1 reply thread
    Author
    Replies
    • #895478

      In that case, you should not put the calculations in the query. Instead, create fields in the underlying table, and update the value of those fields in the After Update event of the fields that contribute to the calculated value in a form. The user will still be able to edit the updated value afterwards.

    • #895479

      In that case, you should not put the calculations in the query. Instead, create fields in the underlying table, and update the value of those fields in the After Update event of the fields that contribute to the calculated value in a form. The user will still be able to edit the updated value afterwards.

    Viewing 1 reply thread
    Reply To: override query calculation (a2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: