Horse Race Description

Please post any questions regarding the program here.

Moderator: 2020vision

Horse Race Description

Postby Bez » Fri Jun 07, 2013 10:30 am

I have an Access database that is using the COM interface very successfully but I am having trouble picking up the description of a horse race.

I would expect the eventname field of a bfEvent to contain stuff like 5f mdn stks like you see in the BA interface but it only ever has bath or hayd etc.

Here is my code:

Dim Events
Dim Evnt

Events = ba.getEvents(SportID)
For Each Evnt In Events
Log "Event Name " & Evnt.EventName
Next

Interestingly if I DIM Evnt as bfEvent the For Each line gives me an Object Required error.

Does anyone know how I should be picking up the race description, please?
Bez
 
Posts: 7
Joined: Sat Jul 30, 2011 9:42 pm

Postby Tradyann » Fri Jun 07, 2013 2:22 pm

With "Horse racing - today's card" no ?

Try with "Horse racing".
User avatar
Tradyann
 
Posts: 139
Joined: Thu Dec 15, 2011 7:13 pm

Postby Bez » Mon Jun 10, 2013 3:14 pm

Thanks for the clue Tradyann :o)
The resulting code seems a bit over the top but I now have it working.
Thanks very much for helping
Bez
 
Posts: 7
Joined: Sat Jul 30, 2011 9:42 pm


Return to Help

Who is online

Users browsing this forum: Google [Bot] and 33 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.