ryesteve 10/4/2010 10:08:33 AM | I've never done it, but you would have to use the AgeSexCode field... the third character denotes the race's gender restrictions, so you'd have to use a SQL string function... and then compare that to the horse's gender designation. In other words, something like:
if gender in ('F' 'M') and substr(agesexcode,3,1) not in ('F' 'M')
to flag females running in open races.
(FYI, that is not necessarily proper SQL syntax)
|