That works. Thanks alot.
-----Original Message----- From: Barker-Lacerda , Michelle [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 11:24 AM To: '[EMAIL PROTECTED]' Subject: RE: [Talk] ALT-P not working. I use Key "@_SELECT:n" where "n" is the tab number (If you are using Meditech Client Server). I use it when jumping across screens in multi-tab dictionaries. When you pause for title bars you'll see the tab number listed in the description (Pause "Enter/Edit MIS User Dictionary#3/[EMAIL PROTECTED],1" ...where #3/6 is pausing on the 3rd tab of a total of 6). Michelle Clinical Application Analyst Dept. of Information Technology 617-665-3432 [EMAIL PROTECTED] Cambridge Health Alliance 65 Beacon St. 4th floor Somerville, MA 02143 www.challiance.org -----Original Message----- From: Matt Robison [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 11:58 AM To: '[EMAIL PROTECTED]' Subject: [Talk] ALT-P not working. Here is the code: Dim RS As New ADODB.Recordset RS.Open "SELECT * FROM CATEGORYLIST ", "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=P:\OE.MDB;" Connect "C:\Program Files\Meditech\MagicCS\Client\VMAGIC.EXE", stMeditechCS 'Login Pause "@20,34" Enter "robim" Pause "@21,34" Enter "harper" Stable Key "{Down}" Enter Key "{Right}" Enter Stable 'Start entering info 'Do While RS.EOF = False Enter RS![CATEGORY] Pause "@3,1" Enter Stable Enter RS![Active] Stable Enter RS![Name] Stable Enter RS![Type] Stable Enter RS![HOLD FUTURE ORDERS] Stable If At("@10,25") Then Enter RS![PROCESS BY CARE AREA] Stable If RS![PROCESS BY CARE AREA] <> "Y" Then Do Until At("@13,25") Enter Stable Loop Enter RS![INTERFACE TO SYSTEM] Else Enter Enter Stable End If Key RS![Send Hosp Chgs To B/AR] If RS![Send Prof Chgs To B/AR] <> Null Then Key "{Bs}" Enter RS![Send Prof Chgs To B/AR] Stable Else Enter Stable End If Key "%P" If RS![PRINT TEXT LINE 1] <> Null Then Enter RS![PRINT TEXT LINE 1] End If If RS![PRINT TEXT LINE 2] <> Null Then Enter RS![PRINT TEXT LINE 2] End If The problem is that Key "%P" simply enters in %P and doesn't key in alt and p. Any help would be appreciated. Thanks, Matt Robison CHC Student Intern "Important Warning: This message is intended for the use of the person or entity to whom it is addressed and may contain information that is privileged and confidential. This disclosure is governed by applicable law. If you are not the intended recipient, employer or agent responsible for delivery to the intended recipient, you are hereby notified that any disclosure, copying or distribution of this information is strictly prohibited." "Important Warning: This message is intended for the use of the person or entity to whom it is addressed and may contain information that is privileged and confidential. This disclosure is governed by applicable law. If you are not the intended recipient, employer or agent responsible for delivery to the intended recipient, you are hereby notified that any disclosure, copying or distribution of this information is strictly prohibited."
