home *** CD-ROM | disk | FTP | other *** search
-
- Format (.fmt) File Template with POPUP or BROWSE field validation
- -----------------------------------------------------------------
- Version 1.11.33
- Ashton-Tate (c) 1987, 1988, 1989, 1990
- Written by Kirk J. Nason & Bill Ramos
-
- ════════════════════════════════════════════════════════════════════════════════
- ***** NOT AN OFFICIAL ASHTON-TATE RELEASE OF FORM.GEN *****
- Key assignments and features could change WITHOUT notice
-
- GENERAL NOTE:
- dBASE has a new REQUIRED keyword for the @ GET command. Currently the
- Screen Designer does not have a option for this! If you want the
- REQUIRED keyword after every VALID use the DOS environment variable:
- SET DTL_REQ=ON and restart dBASE. NOW every generated VALID will look like
- @ <row>,<col> ... GET <var> VALID REQUIRED <exp>
- This environment variable will be removed at some future date!
-
- ════════════════════════════════════════════════════════════════════════════════
-
- This template will support POPUPs or BROWSE for VALID clause field validations
- and context sensitive help for each field. If you choose these features,
- please note the following: F1: calls the context sensitive help, F2:(switch to
- edit/browse) is disabled, but if the ZOOM option is used F9 will ZOOM to another
- form, F6:invokes the "cut" portion of cut/paste, Ctrl-F5:invokes editing of
- "cut" data, and F8:invokes the "paste" code, F7:Allows you to move "windows"
- around.
-
- Example:
- In FORM Design - "ACCEPT value when" under "Edit options" enter,
- "POPUP" = "vendor->vendor_id ORDER vendor_id REQ SHADOW ZOOM vendors"
- "BROWSE" ="vendor->vendor_id ORDER vendor_id FIELDS id,name FROM 5,0 TO 6,30"
- -------------------------------------------------------------------------------
- this will activate a popup or BROWSE if the data entered is invalid for
- that field and will also make the field REQUIRED.
-
- ************ SET DBTRAP OFF is required to use these features ************
-
- Explanation of the string follows:
-
- POPUP Indicates that a POPUP will be used for this field.
- BROWSE Indicates that BROWSE will be used for this field.
- <file>-><fieldname> Indicates the .DBF to open and FIELD to use as validation.
- ORDER <tag name> Indicates which INDEX TAG to SEEK in.
- REQ Indicates the FIELD requires data (can't be left empty).
- Leave REQ out if the field is NOT required. OPTIONAL!
- SHADOW Use shadowing effect on POPUPs or BROWSE. OPTIONAL!
-
- FROM <r,c> TO <r,c> Window coordinates for the BROWSE table. OPTIONAL!
- FIELDS <fld list> Field list for the BROWSE table. OPTIONAL!
- UPDATE Allow APPENDing and EDITing of BROWSE table. OPTIONAL!
- Note: "FIELDS <fld list>" is REQUIRED for UPDATE
- FORMAT <file name> Format file to use with BROWSE FORMAT OPTIONAL!
- Note: overrides FIELDS <fld list>
- ZOOM <file name> Format file to use with "ZOOMed" EDIT OPTIONAL!
- Note: Zooms to EDIT another FORM based on file->fieldname
- info above.
- NOTE: The string must be entered with the quotes as in the example.
-
- ════════════════════════════════════════════════════════════════════════════════
-
- Explanation of the Context Sensitive Help file follows:
-
- If you want to create your own help file, here is the structure that is required.
-
- Structure for Help Database (.dbf):
- <first 6 chars. of the format filename>_H.dbf
- ---------------
-
- Field Field Name Type Width Dec Tag
- -------------------------------------------------
- 1 FLD_NAME Character 10 Yes Field name to lookup on F1
- 2 FLD_HEADNG Character 25 No Heading to show user on window
- 3 FLD_HELP Memo 10 No Help text to show user
- -------------------------------------------------
- Total 46
- ε¡∞ ( x ╔╚ ▐»╛∩@O░: .H @O░: : @TP; 86@Uç; ( = 8m@Vñ; 8n@W╢; ;@W╢; @Y└; .î @Y└; : @]U<