|
When on the screen try:
<variable name> = View(Row:=9, Col:=1,
Length:=5)
This will capture the first 5 characters in row
9.
Hope it helps.
Mark
>>> [EMAIL PROTECTED] 06/17/04 02:47PM >>> I am trying to pull a spool file number from the manage print lists screen. We have a userlog spooled every night to a spool file called USERLOG. Each day someone finds that spool file number on the list and exits and then transmits that spool file number to a network file for archiving. I can get all the way into the Manage Print List Screen, but even though in Boston Workstation View I see the number, the view command puts nothing in my variable. Using View() I see the screen headers, but no data in the text boxes. Shawn had me try key "@_lastscreen" as the cursor in Meditech is located at row 9 col 6. In Boston Workstation the blinking cursor is at 1,1, but the solid cursor (not blinking) is at 9,6 like it is in Meditech. This function took me back to the MIS Spooling Menu or the previous screen. How can I read this spool number into my variable? Am I doing something wrong? (NEW TO BWS) (Embedded image moved to file: pic12292.jpg) (Embedded image moved to file: pic06038.jpg) We already downloaded today's Userlog, but this would be the same thing. How do I pull the 26978 from this screen? I've tried T$= View(Row:=9, Col:=1, Length:=5), T$ = Trim$(View(b:=TextOut, Row:=9, Col:=Col - 5, Length:=5)), and T$ = Trim$(View()) shows everything above the row with the spool file number 26978. Thanks in advance, Dave Shelby (916) 734-3004 [EMAIL PROTECTED] |
