See comments in-line below...
> Jeff,
>
> I'm trying to build this in a query as a expression and by saying 'Take
> it lower' I meant to catch the first step instance only.
First, you'll need to use Access HELP to look up the proper syntax for using
the function.
Next, if you are trying this in a query, you need to use the IIF() function,
not the If/Then/Else function.
And since we aren't there, and aren't as familiar with your data as you are,
"catch the first step instance" doesn't make a lot of sense. Can you
provide a bit more context for us?
It would probably help if you provided an example, using real data.
Regards
Jeff Boyce
Microsoft Office/Access MVP
>> What does "Take to lower" mean? I don't recognize that as part of normal
>> syntax for the If ... Then ... Else function.
[quoted text clipped - 19 lines]
>> > Take to lower [dbo_NTH_RPT_CTRL_TESTINGS].STEP_INSTANCE_ID, otherwise
>> > [dbo_NTH_RPT_CTRL_TESTINGS].STEP_INSTANCE_ID)