Pages:
Actions
  • #1 by rubold on 11 May 2021
  • I need a trigger to delete some place markets:

    1.  All NH markets
    2.  All non-handicap markets remaining
    3.  All win markets remaining

    Presumably Win & Place markets will need to be loaded to identify the corresponding place markets for deletion.  I just don't have any time at present to think about doing this, or if it's possible.
  • #2 by Oxa (WellDoneSoft) on 11 May 2021
  • Hi rubold,

    Are you looking to delete even those markets that are not refreshing? Because that would not be possible with a trigger, as triggers only apply to refreshing markets.
  • #3 by rubold on 11 May 2021
  • Yes Oxa,  I would load all win & place markets and then execute the trigger say 1 min before scheduled start of each race.   I only want to back in Flat Turf and AW place markets.   
  • #4 by Oxa (WellDoneSoft) on 12 May 2021
  • Please see your triggers attached.

    In order to let the triggers determine if a Place market is a handicap race or not, you will need to load both Win and Place markets. The triggers will then delete the Win ones automatically.
Pages:
Actions