you've defined the "formula" almost completely, the only omission being that
you are not specific as to which partnumber to display when the two are
equal - part1 or part2?
and you're correct that an IIf() function will work in this situation.
suggest you read up on the IIf() function in Access Help. separate your
statement "if [PART1]=[PART2] then display partnumber and if [PART1] does
not =[PART2]
disply nothing" into the expression that will be evaluated as true or false,
the section that says which field will be returned if the expression is
true, and the section that says what will be returned if the expression is
false - then put those sections into the IIf() function. if you have
problems getting it to work, post back with your completed IIf() function,
and we'll help you troubleshoot it.
hth
uuhhgg said:
I don't reall have any idea on how to write formulas so any help would be
greatly appreciated. I think that I need an if/then formula because what I
am trying to do is:
if [PART1]=[PART2] then display partnumber and if [PART1] does not =[PART2]
disply nothing.
Thank you