Consider building separate queries for each group and giving the group
members only *use authority to their authorized query. Then revoke
public access to the wrkqry and chgqry commands. Call the query using
RUNQRY with record select *yes.

Paul Nelson wrote:

Thanks for all your suggestions. This gets even weirder. Now the client is
saying she wants one query. If foreman A runs it, she only wants to him see
the employees assigned to him. If foreman B runs it, the display should be
limited to his crew.

I have figured out how to do it, but this breadbox keeps getting bigger.
:-))

This e-mail transmission contains information that is intended to be
confidential and privileged. If you receive this e-mail and you are not a
named addressee you are hereby notified that you are not authorized to read,
print, retain, copy or disseminate this communication without the consent of
the sender and that doing so is prohibited and may be unlawful. Please
reply to the message immediately by informing the sender that the message
was misdirected. After replying, please delete and otherwise erase it and
any attachments from your computer system. Your assistance in correcting
this error is appreciated.

This mailing list archive is Copyright 1997-2016 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact