I am hoping someone out there can help me - I am a real novice at writing macros. I had the following IF statement in a VAL statement in a computed field:
xx.designator
DAT=FREE
LEN=10
VAL=IF{@location="AC" "IN0101";IF{@location="OB" "IN0101";IF{@location="JRC" "IN0101";
VAL=IF{@location="ED" "ER0101";IF{@location="URC" "ER0101";
VAL=IF{@location="SDC" "AS0101";
VAL=IF{@location="XR" "OU0101";
VAL=IF{@location="RHBS.1" "OR0101";IF{@location="RHBS.2 "OR0101";IF{@location="RHBS" "OR0101"}}}}}}}}}}
It is telling me the VAL statement is too long which I had a feeling was going to happen.
How would I write this in a macro in a more efficient way and how would I then write the computed field to bring in the correct information.
Any help would be greatly appreciated.
Karen Helt
Systems Analyst
Sauk Prairie Memorial Hospital
80 First Street
Prairie du Sac, WI 53578
608/643-7673
kh...@spmh.org
====================================
Please do NOT send messages that ask "Please post to the list" or "I'd like to see your answers" or "Send that info to me, too" These are useless messages that just waste the email server's resources. Instead, email the original requester and ask that they send you or post the results of their question.
To UNSUBSCRIBE, go to
http://MTUSers.net
for information.
You can locate the:
1) meditech-l archives
2) NPR/Magic/CS tips
3) job opportunities in the Meditech community
http://mtusers.net
If you need help or advice on how to use the meditech-l, email lo...@MTUsers.com or ju...@MTUsers.net. Both of these people help manage the meditech-l, so they are your best resource.
--
You received this message because you are subscribed to the Google Groups "Meditech-L" group.
To post to this group, send email to
Medit...@googlegroups.com.
To unsubscribe from this group, send email to
Meditech-L+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/Meditech-L?hl=en.