Navigation:  MCL Reference > Track Work Information >

HrBTrial( ), JrBTrial( ), SrBTrail( )

Print this Topic Previous pageReturn to chapter overviewNext page

The functions return the date and group of the barrier trial before the race. The draw number and finishing position are appended at the end of the returned string. There may be more than one barrier trials before a race. You can pass a number into the first argument to get the date of it. When you double-click on the column, the system will open the Barrier Trial form.

 

Syntax 1

HrBTrial(nBackBarrierTrials,nBackRaces,'fCondition',cDefaultVal)

JrBTrial(nBackBarrierTrials,nBackRaces,'fCondition',cDefaultVal)

SrBTrial(nBackBarrierTrials,nBackRaces,'fCondition',cDefaultVal)

 

Syntax 2

HrBTrial('Template',nBackRaces,'fCondition',cDefaultVal)

JrBTrial('Template',nBackRaces,'fCondition',cDefaultVal)

SrBTrial('Template',nBackRaces,'fCondition',cDefaultVal)

 

Argument

nBackBarrierTrials

Pass a number to the first argument to get the date and group of the nBackBarrierTrials (0 or 1 for first, 2 for second, etc) barrier trials before the underlying race.

Template

Template of the return string. You can include the following special symbols in the template. Corresponding item in the following table will be return in the position of the system.

Special Symbol

Meaning / Corresponding Item

*

Return all barrier trials between last and current races

Numbers 0 to 9

1.No * in template: Number (n) in template stands for the the barrier trial n times before current race.
2.A * found in template: Number (n) in template stands for the all barrier trials between the n times and n+1 times starts back from the current start. If there is no barrier trial between these 2 starts, an empty string will be return.

U

User comments for the trial

P

Running positions (including finishing position)

F

Finishing position

D

Date

A

Draw position

N

Group

G

Gears

L

Distance

C

Course

T

Time to complete the run

J

Jockey

S

Sectional times

M

Margin behind the winner

 

See Arguments of MCL functions for details about other arguments.

 

Returns

Character (Multiline Text)

 

Examples

The following functions return the date and group of the first barrier trial before the race.

HrBTrial()

HrBTrial(1)

Sample of return: "17/02/2009(5)" for the 5th group in 17/02/2009

 

The following function returns the date and group of the second barrier trial before the race.

HrBTrial(2)

 

The following functions return the date, jockey and finishing position of the latest trial.

HrBTrial('d j (f)')

HrBTrial('1d j (f)')                        && '1' for last trial

 

Sample of return:

"05/03/2010 B Doyle (3)"

 

The following functions return the dates, jockeys and finishing positions of the trials between the current and last starts of the horses.

HrBTrial('*d j (f)')

HrBTrial('*0d j (f)')                && '0' for current start

 

Sample of return:

30/03/2010 M L Yeung (2)

16/03/2010 M L Yeung (8)

 

The following function returns the dates, jockeys and finishing positions of the trials between the last and second last starts of the horses.

HrBTrial('*1d j (f)')                && '0' for last start

 

Sample of return:

02/12/2008 H W Lai (6)

18/11/2008 G Mosse (3)

 

 

See Also

HrActivity( ), JrActivity( ), SrActivity( ), HrBTVideo( ), JrBTVideo( ), SrBTVideo( ), HrGBTCount( ), JrGBTCount( ), SrGBTCount( ), HrRGBTCount( ), JrRGBTCount( ), SrRGBTCount( )

 


Page url: http://www.racematenet.com/english/help/index.html?hrbtrial.htm