I am having a hard time doing the following in a query.
I need my field "EarnedValue" to return the result depending on other
fields.
The code in VB would look like this:
If [sumofhrs] > 0 and [Complete] = false then
[earnedvalue] = [sumofbudget] *.5
elseif [complete]= true then
[earnedvalue] = [sumofbudget]
else
[earnedvalue] = 0
Endif
I need to get this EarnedValue returned on the query since I need to
use this calculation on a report.
Can this be done.
If I need to call it as a function then I will need even more help
(never done that)
thanks
KO