January 19, 2016 at 4:17 pm
=FormatCurrency(code.getTotals(code.cash_recp_number, "TOTAL"))
January 20, 2016 at 12:41 am
And the question is?
-- Gianluca Sartori
January 20, 2016 at 6:49 am
I have created one more forum item with details with same subject as custom code.
Please check and suggest
January 20, 2016 at 7:43 am
Link please?
-- Gianluca Sartori
January 20, 2016 at 8:36 am
Please see below
Public Function Increment_cash_recp_number() As Integer
cash_recp_number= cash_recp_number +1
End Function
Public Function getTotals(ByVal recipNo As Integer, ByVal vehicle As String) As Decimal
Dim tVals As totalValues
tVals = Values(recipNo)
Return tVals.getTotalValue(vehicle)
End Function
Public Class totalValues
Public Function getTotalValue(ByVal vehicle As String) As Decimal
Select Case UCase(vehicle)
Case "TOTAL"
Return Me.TotalSecurityValue + Me.TotalCashValue
End Select
End Function
End Class
I have this in an textbox expression
=FormatCurrency(code.getTotals(code.cash_recp_number, "TOTAL"))
but it does not seem to work for TotalSecurityValue. This TotalSecurityValue is present in another matrix/tablix in the same report
Please suggest how to fix it?
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply