dblSrc4 = 0
If dblSrc1 <> 0 And dblSrc2 <> 0 Then
dblSrc4 = dblSrc1 * dblSrc2 * 0.01
End If
The generated code is part of the business process step Calculations after Invest-
ment Screen Update. This is run when the user accesses the Investment Definition
screen and presses either the Save button or the Delete button. In the sample appli-
cation this screen is reached by selecting Application Functions from the main menu
and Enter Investment Details from the popup that then appears. The results of the
rule firing can be checked by looking at the contents of the Investment table using
the capabilities to view data discussed in Chapter 14.
Using Subtypes in the Rule Type
Let us suppose that a user wishes to create another rule using the Pay Pro-Rata from ...