Cameron,
In the menu management option (XUMAINT), there is an
option for the screen-based option editor (XQOPED).
It seems handy.
Thanks for your help. I think I have this going now
(well enough anyway)
Thanks
Kevin
--- Cameron Schlehuber <[EMAIL PROTECTED]>
wrote:
> I've never heard of or used the "Screen-Based Option
> Editor". Here's what
> the Option file has for the option I'm familiar with
> to edit options:
>
> NAME: XUEDITOPT MENU TEXT:
> Edit options
> TYPE: edit CREATOR:
> SCHLEHUBER,CAMERON
> HELP FRAME: XQEDIT DELEGABLE:
> NO
> E ACTION PRESENT: YES X ACTION
> PRESENT: YES
> DESCRIPTION: This option is used to create the
> building blocks of
> the menu system: the options. Each option should
> have an internal
> name, menu text, a description and a type.
> Depending on its type,
> other fields are filled in.
> EXIT ACTION: K DLAYGO D KICK^XQ7 ENTRY
> ACTION: S DLAYGO=19
> DIC {DIC}: DIC(19, DIC(0):
> AELMQ
> DIC(A): Select OPTION to edit: DIE: DIC(19,
> DR {DIE}: [XUEDITOPT] TIMESTAMP:
> 53922,30780
> UPPERCASE MENU TEXT: EDIT OPTIONS
>
> And here's what the dialog looks like when I use the
> option:
>
> Select OPTION to edit: XYZ
> Not a known package or a local namespace.
> Are you adding 'XYZ' as a new OPTION (the 9435TH)?
> No// Y (Yes)
> OPTION MENU TEXT: TEST
> NAME: XYZ//
> MENU TEXT: TEST//
> PACKAGE:
> OUT OF ORDER MESSAGE:
> LOCK:
> REVERSE/NEGATIVE LOCK:
> DESCRIPTION:
> No existing text
> Edit? NO//
> TYPE: P print
> HEADER:
> ENTRY ACTION:
> EXIT ACTION:
> *** IMPORTANT PLEASE READ ***
>
> By selecting a new Print/Sort Template below, your
> defaults will
> be changed. Your defaults are currently set as
> follows(see below).
> Should you desire to keep the defaults as they are,
> or to revise
> one or more, enter an '^' up-arrow, without
> selecting a new
> template name.
>
> Default Values
> ==============
>
> DIC {DIP}: L.:
> FLDS: BY:
> FR: TO:
>
>
> Select PRINT TEMPLATE: ABC <== This is the name of
> the template I made up
> (Feb 03, [EMAIL PROTECTED]:04)
> File #38.1
> *** IMPORTANT PLEASE READ ***
>
> By selecting a new Sort Template below, your
> defaults will be
> changed. Your defaults are currently set as
> follow(see below).
> Should you desire to keep the defaults as they are,
> or to revise
> one or more, enter an '^' up-arrow, without
> selecting a new Sort
> Template.
>
> Default Values
> ==============
> BY:
> FR: TO:
>
>
> Select SORT TEMPLATE: XYZ <== This is the name of
> the template I made up
> (Feb 03, [EMAIL PROTECTED]:03)
> File #38.1
> START WITH: FIRST// <== When you created the
> template you had the
> option of asking the template user the From and
> To range. Just
> take the defaults here and at GO TO:
> GO TO: LAST//
> DIC {DIP}: DGSL(38.1,// <== Automatically "stuffed"
> (See FM Programmer
> Manual for a detailed explanation of the DIP
> variable used in
> printing reports from FM's APIs.
> L.: 0//
> FLDS: [ABC]//
> BY: [XYZ]//
> FR:
> TO:
> DIS(0):
> DHIT:
> DHD:
> PG:
> DCOPIES:
> DIOBEG:
> DIOEND:
> DISUPNO:
> DIPCRIT:
> CREATOR: SCHLEHUBER,CAMERON//
> HELP FRAME:
> PRIORITY:
> Select TIMES PROHIBITED:
> Select TIME PERIOD:
> RESTRICT DEVICES?:
> Select PERMITTED DEVICE:
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
>
[mailto:[EMAIL PROTECTED]
> On Behalf Of Kevin
> Toppenberg
> Sent: Wednesday, February 02, 2005 8:27 PM
> To: [email protected]
> Subject: RE: [Hardhats-members] How do I mark a
> patient as a "Sensitive"
> patient?
>
> Cameron,
>
> Alright, I am stuck on making an option to print out
> a
> print template. I have created a new menu option
> named TMG SHOW SENSITIVITY ACCESS
> It looks like this (sorry about any screen
> wrapping):
> ---------------------------------------------------
> ---------------------------------------------------
> Welcome to the Screen-Based Option Editor
>
>
> Name: TMG SHOW SENSITIVITY ACCESS
>
> Menu Text: Show Access to Sensitive Patients
>
> Description: Type: print Is It
> Delegable: YES
>
> Help Frame: Package:
> MEDICAL GROUP OF GRE
>
>
> Restrictions (Locks, etc.): NO Executable Fields
> (Programmers Only): NO
>
> Option-type (Print, Run Routine, etc.)
> Related
> Fields: YES
>
>
____________________________________________________________________________
> ___
> Exit Save Refresh
>
> Enter a command or '^' followed by a caption to jump
> to a specific field.
> ---------------------------------------------------
> ---------------------------------------------------
>
>
> And then when I get to the Related Fields: YES, I am
> confronted with the screen below.
>
> The prompt for this first field indicates that a
> file
> *number* can be entered.
>
> "This required field contains the file number or the
> global root of the file to be printed from, e.g., 2
> or
> DPT(."
>
> But when I try to enter 38.1 into the first field
> (Global reference), I get a message:
> ENTER THE GLOBAL REFERENCE FOR 'DIP', WITHOUT THE
> "^".
>
> (What is DIP? Not sure...)
>
> I have to go out and look up the global reference to
>
=== message truncated ===
__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members