H
hedgracer
I have the following code:
Public Function BSS_Payment_chkExchange()
intCount = intCount + 1
strExch = "Exchange" 'OK
strSelect = strSelect & ", Exchange"
If chkGroupBy = -1 Or chkSumQuantity = -1 Or _
chkSumCashAdjusted = -1 Or chkSumUnadjustedGiveUpRevenue = -1
Or _
chkSumDetailDisputed = -1 Or chkSumTotalAmtDue = -1 Then
strGroupBy = strGroupBy & ",Exchange"
End If
If Not IsNull(cboExchange) Then
intTextB = 0
strWhere = strWhere & "AND (" & _
strExch & _
" = '" & _
cboExchange & _
"') "
End If
I am getting a "Variable Not Defined" error message on
chkSumTotalAmtDue when I compile but not on the the other items
starting with chk. These are not variables but check boxes. All are
set up exactly the same in the VBA code. Can someone give me a clue to
what I am possibly missing? Thanks for all help in advance.
Dave
End Function
Public Function BSS_Payment_chkExchange()
intCount = intCount + 1
strExch = "Exchange" 'OK
strSelect = strSelect & ", Exchange"
If chkGroupBy = -1 Or chkSumQuantity = -1 Or _
chkSumCashAdjusted = -1 Or chkSumUnadjustedGiveUpRevenue = -1
Or _
chkSumDetailDisputed = -1 Or chkSumTotalAmtDue = -1 Then
strGroupBy = strGroupBy & ",Exchange"
End If
If Not IsNull(cboExchange) Then
intTextB = 0
strWhere = strWhere & "AND (" & _
strExch & _
" = '" & _
cboExchange & _
"') "
End If
I am getting a "Variable Not Defined" error message on
chkSumTotalAmtDue when I compile but not on the the other items
starting with chk. These are not variables but check boxes. All are
set up exactly the same in the VBA code. Can someone give me a clue to
what I am possibly missing? Thanks for all help in advance.
Dave
End Function