2 Replies Latest reply: Nov 16, 2012 12:25 AM by Dmitry Lapchenkov RSS

    change selected value from script

    Dmitry Lapchenkov

      Hi!

       

      I have calendar object with 2 variables: nach_p and konec_p and field data_sale

      and i have load script. in the end of script:

       

      let start_period = date(today()-1-7,'YYYYMMDD');

       

      also i have triger  - select in field data_sale with search string: 

      ='>=$(=date(nach_p,'YYYYMMDD'))<=$(=date(konec_p,'YYYYMMDD'))'

       

      when i load data in calendar i see my nach_p and konec_p

      , but nothing happend with data_sale field - there is no selection by nach_p and konec_p (only old selection)

       

      but if i manuly change nach_p or  konec_p in calendar - triger works and selection is appear

       

      why triger dosent work when variable changing in script?

       

      please help