Go to end of list:
Key "^{End}"
Current Row value variable:
Row
Current Column value variable:
Col
Example:
DateStamp = Format(Trim(View(,,Row,Col,8)),"yyyymmdd")
(where you are viewing the current cursor position for 8 characters and
it contains a date formatted like mm/dd/yy)
Will give you the date located at your current cursor position formatted
in yyyymmdd stored in variable DateStamp.
Try it out using an immediate window in your VBS editor while you have
Meditech open and active in BWS.
? Row
5
? Col
14
? Format(Trim(View(,,Row,Col,8)),"yyyymmdd")
20090819
Etc.
HTH
Thank you,
Mitch Lawrence
Lead Applications Analyst
Technical Support - NPR/Automation
CHRISTUS Information Management
*: [email protected]
<mailto:[email protected]>
________________________________
From: [email protected] [mailto:[email protected]]
Sent: Thursday, August 20, 2009 11:08 AM
To: [email protected]
Subject: [talkbws] Shifting row in Meditech
Group,
I am writing a script for Meditech Client Server 5.6 PP
It goes to the bottom of a list and adds a new entry. How do I let the
row position be variable. When I record the data station enter it is on
Row 15 but the next entry may be on row 20. (it depends how long that
list is)
-Kevin
---
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
<<image002.jpg>>
