How to avoid recalculating extra-field on a form

gicifgicif Member Posts: 16
Hi All,

I have a form based on a table and I added an extra field on this form.
This extra field isn't based on a table; it's a calculated field with my rules implemented in form's OnAfterGetRecord trigger.

It's possible to avoid recalculating the field when I manually change its value on some row?
Actually, when I manually change its value, then exit from the row and then re-enter to the row, recalculated value override manually inserted value :(


Many Thanks,
gicif

Comments

  • TomasTomas Member Posts: 420
    gicif wrote:
    Hi All,

    I have a form based on a table and I added an extra field on this form.
    This extra field isn't based on a table; it's a calculated field with my rules implemented in form's OnAfterGetRecord trigger.

    It's possible to avoid recalculating the field when I manually change its value on some row?
    Actually, when I manually change its value, then exit from the row and then re-enter to the row, recalculated value override manually inserted value :(


    Many Thanks,
    gicif

    If you manually SET value, you must hold it somewhere. Therefore, you should save it in table. Then you would be able to take values from it, or recalculate if needed. If you enter the data, and do not save it... well, then you just lose it.
  • gicifgicif Member Posts: 16
    Ok Tomas,

    many thanks for your help.

    Regards
    gicif
Sign In or Register to comment.