Error Messages/40867
< Error Messages
Revision as of 01:17, 6 February 2010 by AManandhar (talk | contribs) (Created page with '= Error Message Examples = Unrecognized value to the «dateUnit» parameter in Function Sequence: 'hr' Possible values are: 'Y', 'Q', 'M', 'WD', 'D', 'h', 'm', 's' = Cause = …')
Error Message Examples
Unrecognized value to the «dateUnit» parameter in Function Sequence: 'hr' Possible values are: 'Y', 'Q', 'M', 'WD', 'D', 'h', 'm', 's'
Cause
You have passed a negative value as the step parameter to the Sequence function without specifying the strict parameter to be true. You need to specify the strict parameter to be true to pass a negative value as the step parameter. Passing a positive number will still work for a decreasing sequence.
Both of the following call to Sequence will produce a decreasing sequence from 99 to 1.
Sequence(99, 1, 1);
Sequence(99, 1, -1, strict: true);
Please click on the following link to learn more about the optional dateUnit parameter.
Remedies
Either specify the strict parameter to be true or pass in a positive value to the step parameter.
Comments
<comments />
Enable comment auto-refresher