If post time is 3, you'd probably be able to get in seven races before leaving for dinner at 6. That would put you at a surburban location by 7, or downtown by 7:30.
If dinner is downtown, I'd probably skip the track and make dinner. If dinner is in the suburbs, I should be able to make the track by the start of the 3rd race.