F
Frank Dulk
The one that this wandered here
Dim rstDebito As Recordset
Dim rstVale As Recordset
Dim strCodCx As String
Dim strDtJogoInicial As Date
Dim strCriteria As String
Dim CurVale As Double
Dim CurDtLanc As String
' Entrance of Parameters for I Calculate of you are Worth, based on the
field Debit of TbJogo'
Set rstDebito = CurrentDb.OpenRecordset("TbVales")
strCodCx = InputBox("Código do Caixa ?")
strDtJogoInicial = InputBox("Dt do Jogo ?")
' I calculate of the Sum of all the Debits based on the parameters passed
CurVale = DSum("[Debito]", "TbVales", "'[CodCx] ='" & strCodCx And
"'[DtJogo]='" & "#" & Format(strDtJogoInicial, "dd/mm/yyyy") & "#")
Dim rstDebito As Recordset
Dim rstVale As Recordset
Dim strCodCx As String
Dim strDtJogoInicial As Date
Dim strCriteria As String
Dim CurVale As Double
Dim CurDtLanc As String
' Entrance of Parameters for I Calculate of you are Worth, based on the
field Debit of TbJogo'
Set rstDebito = CurrentDb.OpenRecordset("TbVales")
strCodCx = InputBox("Código do Caixa ?")
strDtJogoInicial = InputBox("Dt do Jogo ?")
' I calculate of the Sum of all the Debits based on the parameters passed
CurVale = DSum("[Debito]", "TbVales", "'[CodCx] ='" & strCodCx And
"'[DtJogo]='" & "#" & Format(strDtJogoInicial, "dd/mm/yyyy") & "#")