Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formula not working in text box

Status
Not open for further replies.

Zonie32

Technical User
Jan 13, 2004
242
US
Hello. I have a text box on a form that has 3 fields, Balance, Recovery and EarnedCommision. I am trying to put this formula into the Recovery box but keep getting the "#Error" message:

=IIf([Balance]>0,IIf([Balance]-[EarnedCommission]>=0,[EarnedCommission],[Balance]),0)

Am I missing something here?
 
Hi. Yes I did try that but I cannot seem to figure this one out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top