The import part is the name of the parameter in the prompt.
Is that name part of your query or table?

Signature
Steve Clark, Access MVP
http://www.fmsinc.com/consulting
*FREE* Access Tips: http://www.fmsinc.com/free/tips.html
> I'm trying to print one label for two people at the same address following
> the sample given at
[quoted text clipped - 5 lines]
> it,
> then Name2 is that name for everybody. The field is as follows: Name2:
IIf(qryLabelNames1.ListName=qryLableNames2.ListName,"",qryLableNames2.ListName)
> Any suggestions?
garyf - 04 Apr 2006 02:25 GMT
I finally determined the problem. I had incorrectly spelled one of the
queries. It now works. Your answer is right on, I just didn't catch the
error for a long time. Thanks for your response.
> The import part is the name of the parameter in the prompt.
>
[quoted text clipped - 12 lines]
> IIf(qryLabelNames1.ListName=qryLableNames2.ListName,"",qryLableNames2.ListName)
> > Any suggestions?