Greetings, You've glommed it all into one line in the wrong way : )
This should work:
F("AGE")=TRIM(View(Row:=14, Col:=10, Length:=11))
D("TRANSFERRED")=F("AGE")
Which has the advantage of allowing you to see F("AGE") change in the
Flags viewer of the BWS UI as script runs.
Or you could simply do:
D("TRANSFERRED")= TRIM(View(Row:=14, Col:=10, Length:=11))
And skip the Flag set all together.
Or if you're really insistent on this staying in a single "line" you
could do this
F("AGE")=TRIM(View(Row:=14, Col:=10, Length:=11)):
D("TRANSFERRED")=F("AGE")
I am not a big fan of : concatenated lines of code however - makes it
harder to use breakpoints etc.
Regards,
Thom
Thom C. Blackwell
Product Manager
Boston Software Systems
(866) 653-5105 ex 807
www.bossoft.com <http://www.bossoft.com/>
Sign up for my weekly webinar!
<http://www.bostonworkstation.com/customer_center/special_events.aspx>
LEGAL NOTICE Unless expressly stated otherwise, this message is
confidential and may be privileged. It is intended for the addressee(s)
only. Access to this E-mail by anyone else is unauthorized. If you are
not an addressee, any disclosure or copying of the contents of this
E-mail or any action taken (or not taken) in reliance on it is
unauthorized and may be unlawful. If you are not an addressee, please
inform the sender immediately, then delete this message and empty from
your trash.
From: [email protected] [mailto:[email protected]]
Sent: Thursday, January 27, 2011 2:42 PM
To: Talk
Subject: [talkbws] Correct Syntax for Logging what's viewed
Does anyone have the correct syntax for logging what's been viewed ? I'm
doing this string and getting a true or a false in my db so it's not too
far away from reality..
D("TRANSFERRED")=F("AGE")=TRIM(View(Row:=14, Col:=10, Length:=11))
D=Datastation element
F=BWS Variable
Scott Ahlbrandt MCSA
Patient Accounting Systems Analyst
John C. Lincoln Health Network
2500 West Utopia Road
Phoenix, Arizona 85027
Fax: 623-434-6216
Phone:623-434-6200 x301286
http://www.jcl.com <http://www.jcl.com/>
--- To post a message to this list, send mail to: [email protected]
You are currently subscribed as: [email protected]
Unsubscribe in the customer center on our website:
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk
.aspx
--- To post a message to this list, send mail to: [email protected] You are
currently subscribed as: [email protected] Unsubscribe in the
customer center on our website:
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx <<image001.gif>>
