Thanks for the continued help. Now I realize that the reason I am having this problem is because I am trying to do this in a totals query.
I have a field named Invoice set to "group by" to consolidate all my invoices from my invoicedetails table.
I have a field named amount: [quantity]*[salesprice] to get the total of each invoice. It is set to group by.
I want to run an iif statement using the field "amount" to put my invoices into groups. so iif(amount>300,"0-300",iif(amount>500,"300-500"),iif(etc.)))
Is this possible? I guess I should have posed my question this way from the start. Sorry for the wasted time. Thanks again.