First, thanks for your help. But crap. Feel so stupid. I could have sworn this db was in 2000. But it's Access 97. IIf command won't work in 97 right? I vaguely remember IIf not being supported by one of the versions. And since you got it to work in 2000, then it must be 97. Is there an...