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

Brenda,

You can convert the value that you are sending to the screen to the
external formate using a Z program.  Try this:

IFE=IF{[ANS,"NURBLOOD2"]|0^/DTE^/[ANS%0,"NURBLOO134"]|0,
IFE=%Z.date.out(/DTE)^/DTE,P(R,S,/DTE)^#,""}

Hope this helps,
Kenny Whiteside


Kenny Whiteside RN, BSN
Patient Care Information Systems
Catawba Valley Medical Center
810 Fairgrove Church Road
Hickory, NC 28602
[EMAIL PROTECTED]



>>> Brenda Wiley <[EMAIL PROTECTED]> 08/17/2006 3:27:05 PM >>>
All messages should be posted in plain text.  HTML will be converted
to
attachments.    The meditech-l web site is MTUsers.com
======================================

Hi folks,

I have the following attribute on a query that is set
up as a DATE field in the query dictionary:

IFE=IF{[ANS,"NURBLOOD2"]|0^/DTE,
IFE=/DTE^/[ANS%0,"NURBLOO134"]|0,P(R,S,/DTE)^#,""}

The query's name that this attribute is on is
"NURBLOO134".  It is pulling the info from the date
field "NURBLOOD2" earlier on the same CDS.

Trouble is, when it fills in the date field, it fills
it in in the internal date format (YYYYMMDD ....
20060817 for today for example).

After the CDS is filled in and saved, viewing it under
View History properly shows the 08/17/2006 format, but
while the users are in the screen for the first time,
all they will see is the internal format.

How do I get it to fill in initially with the
MM/DD/YYYY format?  I'm assuming I need to use the
z.date.out z function, but do not know how to insert
it into my attribute above.

Thanks as always for the indispensible L-List help!!

Brenda Wiley, RN
Transylvania Community Hospital, Inc.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
meditech-l mailing list
[email protected] 
http://mtusers.com/mailman/listinfo/meditech-l
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to