IIf Statement

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to have the statement

IIf([BE]>0,[E]*[BE],0)

for the OnEnter property but it doesn't seem to be working. How can I fix
this?
 
"doesn't seem to be working" doesn't tell us much...

You can't put an expression like that as an Event (which is what the OnEnter
property is). You either set the property to [Event Procedure], then put
that code into the module that gets created for you when you hit on the
ellipses (...) to the right of the property, or you need to put it in a
macro.

Either way, IIf([BE]>0,[E]*[BE],0) is pretty meaningless. What are [BE] and
[E]? What do you want done with the results of that IIf statement?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top