Pages:
Actions
  • #1 by foxmor on 31 Aug 2015
  • Hi,
    Frustration is at an all time hi again and about to pay for an annual subscription but wont if I cant get this working.

    If there are 5 markets loaded and that have a market_index value from 1-5, why is it that a simple simple trigger to delete markets with a market_index equal or less than 5(market_num) deletes only the last market, number 5, and not all the rest, 1-4?

    It doesn't matter if they're settled or not, it only deletes the last market!

    This cannot be right, has to be a bug.

    Any help?
    Harry Davis
  • #2 by Tim (WellDoneSoft) on 31 Aug 2015
  • To be honest it should delete all markets ;)
    As after deleting the market_index is changed.
    So sixth market becomes 5th and is deleted, etc.
    I think you should "mark" the markets with market_index less than 5 by some trigger variable (making sure the marking trigger is executed on all markets) and then delete marked markets...
  • #3 by foxmor on 31 Aug 2015
  • OK... found another way to get round this bug.
    Thanks
    Harry
Pages:
Actions