>I did break it down in to more than one sql but that didn't work either.
You are saying that just doing this part:
select dam1, yr_bred, name, sex, sire1, booked_to, last_bred, p_b, date_foal, date_died, cause_deat, ;
price_sold, buy_name, age_rec, life_earn, cl from master where category = "F" into...
still gives a None level, when you have an index on category?
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.