E
ehorde
Hi all..
I am creating a Cash Flow Projection report in access that inspects
the "completed dates" of sheduled draws to calculate a remaining
balance, but I am having problems with it.
The idea is:
---------------------
Iff [Draw1CompletedDate] = Null then Me!txtBalance = [MortgageAmount]
Else
If [Draw1CompletedDate] <> Null AND [Draw2CompletedDate] = Null then
Me!txtBalance = [MortgageAmount] -
[Draw1Amount]
Else
If [Draw1CompletedDate] <> Null AND [Draw2CompletedDate] <> Null AND
[Draw3CompletedDate] = Null then Me!txtBalance = [MortgageAmount] -
[Draw1Amount] - [Draw2Amount]
Else
If [Draw1CompletedDate] <> Null AND [Draw2CompletedDate] <> Null AND
[Draw3CompletedDate] <> Null then Me!txtBalance = [MortgageAmount] -
[Draw1Amount] - [Draw2Amount] - [Draw3Amount]
-----------------
I am sure I have butchered this, but this is what I need to do. I get
"syntax error" "missing operator" errors.
Thanks..
I am creating a Cash Flow Projection report in access that inspects
the "completed dates" of sheduled draws to calculate a remaining
balance, but I am having problems with it.
The idea is:
---------------------
Iff [Draw1CompletedDate] = Null then Me!txtBalance = [MortgageAmount]
Else
If [Draw1CompletedDate] <> Null AND [Draw2CompletedDate] = Null then
Me!txtBalance = [MortgageAmount] -
[Draw1Amount]
Else
If [Draw1CompletedDate] <> Null AND [Draw2CompletedDate] <> Null AND
[Draw3CompletedDate] = Null then Me!txtBalance = [MortgageAmount] -
[Draw1Amount] - [Draw2Amount]
Else
If [Draw1CompletedDate] <> Null AND [Draw2CompletedDate] <> Null AND
[Draw3CompletedDate] <> Null then Me!txtBalance = [MortgageAmount] -
[Draw1Amount] - [Draw2Amount] - [Draw3Amount]
-----------------
I am sure I have butchered this, but this is what I need to do. I get
"syntax error" "missing operator" errors.
Thanks..