All messages should be posted in plain text.  HTML will be converted to
attachments.    The meditech-l web site is MTUsers.com
======================================

Hi Brian,
 
Thank you very much for your reply.  This way works well and doesn't process the records.  The only problem is that it prints the report title and "No records found" to the download file.  I am trying to avoid creating a download file because it would write over a valid version with data run by an authorized user.
 
Thanks,
Marcia

Brian Schmit <[EMAIL PROTECTED]> wrote:
Hi Marcia,

Here is one way to do it:

1) Create an xx field called xx.valid.users with the following attributes:

DAT=FREE
LEN=10
[EMAIL PROTECTED]'="USER1"'="USER2"'="USER3"
WITH=START

2) Use xx.valid.users as a Select Field with the Operator EQ and the value ""

The WITH=START Field Attribute instructs your report to calculate this field at the start of the report. It will only run if the current user is one of the three users listed. You can of course add more users to that code.

Please let me know if you have any questions.

Good luck,

Brian Schmit
Sr. Programmer, Picis
Direct: 781 557 3315
Fax: 781 557 3140
100 Quannapowitt Parkway
Suite 405
Wakefield, MA 01880
[EMAIL PROTECTED]
www.picis.com

Please visit www.picis.com/meditech for additional information about our NPR Report Writing Trainings.

The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access or use by any other person to this internet email is not authorized and may be unlawful. If you are not the intended recipient, please delete or destroy this email. If you do not wish to receive future emails from the sender, please reply directly to this email requesting you be removed from any mailing list.




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marcia Locke
Sent: Wednesday, July 05, 2006 5:24 PM
To: [email protected]
Subject: [MEDITECH-L] Restrict report to specified users


All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================



Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to