Navigation:  MCL Reference > Static information of Horse, Jockey, and Stable >

HrSickHistory( ), JrSickHistory( ), SrSickHistory( )

Print this Topic Previous pageReturn to chapter overviewNext page

The functions return the veterinary records of the horse.

 

Syntax 1

HrSickHistory(cKeywordList,cFlags,nBackRaces,'fCondition',cDefaultVal,cIncluding)

JrSickHistory(cKeywordList,cFlags,nBackRaces,'fCondition',cDefaultVal,cIncluding)

SrSickHistory(cKeywordList,cFlags,nBackRaces,'fCondition',cDefaultVal,cIncluding)

 

Syntax 2

HrSickHistory(nDays,cFlags,nBackRaces,'fCondition',cDefaultVal,cIncluding)

JrSickHistory(nDays,cFlags,nBackRaces,'fCondition',cDefaultVal,cIncluding)

SrSickHistory(nDays,cFlags,nBackRaces,'fCondition',cDefaultVal,cIncluding)

 

Syntax 3

HrSickHistory(cDayRange,cFlags,nBackRaces,'fCondition',cDefaultVal,cIncluding)

JrSickHistory(cDayRange,cFlags,nBackRaces,'fCondition',cDefaultVal,cIncluding)

SrSickHistory(cDayRange,cFlags,nBackRaces,'fCondition',cDefaultVal,cIncluding)

 

Syntax 4

HrSickHistory(cDayRangeKeywords,cFlags,nBackRaces,'fCondition',cDefaultVal,cIncluding)

JrSickHistory(cDayRangeKeywords,cFlags,nBackRaces,'fCondition',cDefaultVal,cIncluding)

SrSickHistory(cDayRangeKeywords,cFlags,nBackRaces,'fCondition',cDefaultVal,cIncluding)

 

Arguments

cKeywordList

Returns veterinary records which contain keywords (case insensitive) in cKeywordList argument.

cFlags

Veterinary Content

Show

Hide

Default

Incident date

D

-D

Show

Passed date

P

-P

Hide

Incident description

S

-S

Show

nDays

Numeric argument. Returns veterinary records within pass nDays. A negative number for future days. 0 for the start day.

cDayRange

Character argument. Returns veterinary records with the day range specified. '1-90' for 90 days before start. '-2-90' for the period between 2 days after start and 90 days before start. '-30- -2' for the period between 30 days after start and 2 days after start.

cDayRangeKeywords

Character argument. Shows veterinary records within a period of time with a list of keywords found inside. Period will be specified in the format of cDayRange. Keywords will be put to the right of this day range text with a ":" sign between the day range text and keyword list.

 

Returns

Multiline Text

 

Remarks

In starter views, if you are going to pass a negative argument into these functions, you are recommended to mark this function as "No Caching". It is because the cache will not be updated automatically unless you click on the [Recalc] button.

 

Examples

Returns all veterinary records of the horse:

HrSickHistory( )

 

Returns all veterinary records which contain the keywords "track work" and "jump":

HrSickHistory('track work,jump')

 

Returns all veterinary records with passed date, but hide the incident date.

HrSickHistory( ,'P-D')

 

Veterinary records with last 90 days

HrSickHistory(90)

 

Veterinary records after 2 days of the start

HrSickHistory(-2)

 

Veterinary records during the period 2 days after the start and 90 days before the start. (The day range must be in a pair of quotes)

HrSickHistory('-2-90')

 

Veterinary records during 90 days before the start with words either "blood" and "eye" found in text.

HrSickHistory('90:blood,eye')

 

 

See Also

HrBleedDate( ), HrBleedDateStr( )

 

 


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