Pages:
Actions
  • #1 by mikejcshaw on 17 Nov 2016
  • I want to trigger in selected horse races eg Nov Chs. If I use 'Market Name contains Nov Chs' it doesn't seem to work, nor does 'Market Name contains NovChs'. I could use 2 selection lines looking for Nov AND Chs but the trouble then is I get a false positive in races in the month of November, (also Nov). Any suggestions? Thanks
  • #2 by MarkV on 18 Nov 2016
  • Hi
    MarketFeeder uses TDateTime format, i.e. number of days since December 30th 1899. The fractional part is the time of day. Details of this are in the help file.

    so ball park conditions for November 2016 would be:
    selections trigger expression event_start is between 42674 and 42704
    and markets name contains "Chs"

    or you could use variations of the above and, markets name does not contain ...

    Also you can try the FIND function:
    selections trigger expression FIND("Nov Chs", "market_name") is greater than 0

    ...or greater than x where x is the start character number in the string "market_name" if that makes sense.
  • #3 by mikejcshaw on 18 Nov 2016
  • The Find function should do the trick - thanks
Pages:
Actions