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

The 'X' immediately following a program call creates a fresh local symbol table 
for the called program that is cleared out prior to returning to the calling 
program.

I checked and we don't have %Z.zcus.cds. Have you checked to make sure that is 
a valid routine?

Michael Von Moll
Clinical Systems Programmer/Analyst
Sentara Obici Hospital
Suffolk VA 23434

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ken MacPherson
Sent: Thursday, May 25, 2006 7:15 AM
To: [EMAIL PROTECTED]; 'Meditech-L list'; 'Davison, Doug'; 'Davis Daniel 
(SouthernHills)'; Joe Cocuzzo
Subject: RE: [MEDITECH-L] Attribute help....PLEASE

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

Hi Kevin

        In your code

        IFE=IF{[ANS,"QUERY ON"]|0="Y" %Z.zcus.cds("MY CDS TO POP UP",ANS)X,1;1}
        [EMAIL PROTECTED]"N" %Z.zcus.cds("MY CDS TO POP UP",ANS)X,1;1}

        In each line I believe that there should be something between the close
barcket and the X.  My guess would be that it should be a ^ but could also
possibly be a comma.  The latter would be syntactically correct but would
serve no logical purpose.

Hope this Helps
Ken

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, May 24, 2006 4:44 PM
To: 'Meditech-L list'; 'Davison, Doug'; 'Davis Daniel (SouthernHills)';
Joe Cocuzzo
Subject: [MEDITECH-L] Attribute help....PLEASE


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

I am attempting to pop-up a CDS from the response of a query in another
CDS...
The following code gives me a "syntax error" in both lines (Magic 5.4):

IFE=IF{[ANS,"QUERY ON"]|0="Y" %Z.zcus.cds("MY CDS TO POP UP",ANS)X,1;1}
[EMAIL PROTECTED]"N" %Z.zcus.cds("MY CDS TO POP UP",ANS)X,1;1}

"QUERY ON" is the mnemonic of the query I'm poping from.
"MY CDS TO POP UP" is the mnemonic of the CDS to pop up (when QUERY ON is
answered "Y").

I've checked for extra spaces, etc. - any help or thoughts is appreciated.
Kevin.



Kevin McConnell, PharmD.
Clinical Consultant
(713)480-6810
[EMAIL PROTECTED]
www.RPhInformatics.com <http://www.rphinformatics.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

_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to