PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
FinError (Function)
In french: FinErreur
Returns the number of the last error caused by a Finxxx function (see the list of financial functions).
// Identify the type of error
ResError = FinError()
Syntax
<Result> = FinError()
<Result>: Integer
Number of the last error caused by a financial function:
NumberType of errorAffected functions
0No errorAll the functions
1The duration cannot be nullFinDecreasingRedemption,
FinLinearRedemption
2The matrix is emptyFinNetCurrentVal
4The period cannot be longer than the durationFinPeriodInterest
5The type of amortization is not correctFinRedemption
6The pay-off amount is nullFinPaymentNb
7Data inconsistencyFinInterestRate,
FinPaymentNb
8The acquisition cost cannot be nullFinDecreasingRedemption,
9The matrix does not existFinNetCurrentVal
10Maximum values exceededAll the functions
11Unable to calculate (division by zero)FinRedemption,
FinPeriodInterest,
FinCurrentVal,
FinNetCurrentVal,
FinRepayVal
12Infinite number of paymentsFinPaymentNb
13The rate was not foundFinInterestRate
14The period is longer than the durationFinDecreasingRedemption
15Number of months for the first year not included between 0 and 12FinDecreasingRedemption
Remarks
To find out the error details, use ErrorInfo associated with the errMessage constant.
Component : wd240mat.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment