Pages:
Actions
  • #1 by fumusic on 30 Jul 2020
  • Hi, I need to deselect races which are both 0.7 furlongs and have over 15 runners.
    How do I do this?
    I know how to set the variable for over 15 runners and I know the variable for 0.7 furlongs, but cannot seem to combine them on one condition. Using them separately will deselect all races with over 15 runners and deselect all 0.7 furlong races which is not what I want.
  • #2 by Oxa (WellDoneSoft) on 04 Aug 2020
  • Hello!

    The correct condition block would be (I assume you meant 7 furlongs, not 0.7):

    AND NOT
      Selection's Trigger Expression market_length is less than 1408
      and Market's Number of Selection's is greater than 15

    The AND NOT is key here.
  • #3 by fumusic on 04 Aug 2020
  • thanks oxa,
    i've always wondered how to use the and not block.
  • #4 by fumusic on 09 Oct 2020
  • Hi Oxa,
    If I wanted the trigger to deselect all NHF races as well as the 7 furlong races with more than 15 runners (previously mentioned), what do I need to add to the existing
    AND NOT
      Selection's Trigger Expression market_length is less than 1408
      and Market's Number of Selection's is greater than 15 ?

    I thought it would have been using OR NOT along with Market's Name contains "NHF" but it wouldn't let me add that.
  • #5 by Purity on 09 Oct 2020
  • I think you do this by adding blocks within the block (at the same level) for each of your condition groups, so:

    AND NOT
       OR
          Sel...(what you already have)
          and...
       OR
          Sel...Market Name contains NHF
  • #6 by fumusic on 09 Oct 2020
  • Thanks for your help Purity.
    However, I don't understand how to add the blocks at the same level.
    I am getting the white cross on red circle stating that same level conditions and blocks must be connected by identical logical operators (AND,OR, ND NOT, OR NOT)
    See attachment and let me know what I have done wrong.
  • #7 by Purity on 10 Oct 2020
  • The first condition grouping is still in the AND NOT block, and not the 1st OR block (which is empty). See attachment for how it should look.
  • #8 by fumusic on 10 Oct 2020
  • Brilliant!
    Thanks Purity.
Pages:
Actions