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!

SUMIF problem

Status
Not open for further replies.

qwertyjjj

Programmer
May 27, 2005
70
GB
Not sure what is wrong here.
I am trying to do a SUMIF expression to fill a textbox on a form based uon what is in onw of the other bound textboxes.

The expression is:
=SUMIF(TableName!FieldName,[Expr1001],TableName!FieldName)

Shouldn't this sum up the field values from the table when the first field name = [Expr1001]?

I just get a #Name? when I run the form.
 
SUMIF is not an Access / VBA function.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Do you know of an alternative that can be used to do the same thing?
 
It's either that or link the textbox to a SQL query but the WHERE condition needs to change for each textbox
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top