Hi All... here is my quandry:
Here are the fields that pertain to this question-
Gas - currency, 2 decimal places
Electric - currency, 2 decimal places
Misc - currency, 2 decimal places
Budget - currency, 2 decimal places
I need to create an if-then-else with the IIf statement, and for some reason, it is not working (I keep getting a comma error). The jist of the statement reads like this:
If Budget = 0
Then Gas + Electric + Misc
Else Misc + Budget
I know the solution is so simple, but getting it to work is the hard part.
Any help is greatly appreciated!!
Leeann...
Here are the fields that pertain to this question-
Gas - currency, 2 decimal places
Electric - currency, 2 decimal places
Misc - currency, 2 decimal places
Budget - currency, 2 decimal places
I need to create an if-then-else with the IIf statement, and for some reason, it is not working (I keep getting a comma error). The jist of the statement reads like this:
If Budget = 0
Then Gas + Electric + Misc
Else Misc + Budget
I know the solution is so simple, but getting it to work is the hard part.
Any help is greatly appreciated!!
Leeann...