1. Hugh is (technically) on vacation for the rest of September, travelling to Europe for his son's wedding in England, and to meet up with Rob in La Rochelle, France. He will be checking the forums most days, and providing some support, but his time will be limited, and he will be unable to do any custom coding work. Apologies in advance for any inconvenience.

Fabrik Calc Plugin - Store value in DB?

Discussion in 'Plugins' started by nbradshaw, Jun 4, 2009.

  1. nbradshaw

    nbradshaw Member

    Level: Standard
    I am using the Fabrik Calc plugin to calculate two other elements:

    $totalucount = ({DC_Inventory_Tool_Main___HighRU} - {DC_Inventory_Tool_Main___LowRU} + 1); return $totalucount;

    This works great - however - I would really like it to store the value in the DB, so that I can do my own reporting on these values.

    Is there another way to accomplish this?

    Also - I enabled the SUM for this element (fabrik calc) and it is not calculating (only showing "SUM: ") - possibly because the values are not in the db as well?

    Many thanks!
  2. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community
    I'll have a look.

    It *should* store the result of the calc regardless of 'only calc on save' setting, when the form is saved.

    What version of Fabrik are you running? You sig says 2.0.3b, which was about a thousand SVN revisions ago ...

    -- hugh

Share This Page