Parameters per screen
Most of the screens and parameters listed below, can only be used in Adlib applications for DOS; only the parameters marked in light green can also be used in Adlib applications for Windows. See the Help topics Altering screens for Adlib DOS applications and Reserved tags on screens, for more information.
In Adlib applications for Windows, most functionality that under DOS was implemented through tags or parameters on screens, is now an integral part of the software, or can be set through properties of Adlib objects. More specifically, the EDIT and DISPALL parameters are now visible as screen properties Read-only and Show empty fields on the Screen tab, while all other parameters appear in or can be added to the parameters/tags list on the List fields tab of the screen properties.)
Parameters in the welcome screen.
A number of parameter objects can be added to the welcome screen to customize Adlib for DOS in a number of ways.
Parameter |
Default |
Function |
BRDPALW |
Off |
Brief display always: show brief display screen even if only one record is found. |
BUTTON |
Off |
With this parameter and the value big, all buttons are displayed double size. |
COMBDISP |
Off |
Combine display: show index list during combining of search. |
DBSORT |
Off |
Database sort: sort the datasets in the data source list in step 1 of the Search wizard. |
DTDPONE |
Off |
Detailed display one: start each record with the first detailed display screen. |
EMPKEYOK |
Off |
Empty key OK: empty search keys are valid. |
EXPHELP |
Off |
Expert help (F1) is displayed by default. |
FTTRNCON |
Off |
Free text truncation on: automatically truncate free text. |
HELP |
Off |
Installs F1 = Help in the welcome screen. |
LANGUAGE |
0 |
The number of the language used at start-up. |
MAXKEYS |
5000 |
Limit for the number of search keys displayed. |
MAXRECS |
5000 |
Limit for the number of records displayed. Adlib reserves memory space that corresponds to the number entered here. If you set this value too high, Adlib may give memory errors (error code 2). |
MILSTONE |
100 |
Milestone: changes the increment of the record and index counters. |
NOALLKEY |
Off |
The All keys button is not available. |
NOCOMBIN |
Off |
No combine: prevents selections from being combined. |
NOHLPRET |
Off |
No help and return: suppresses Help and Return options. |
NOMENU |
Off |
No menu bar on screen. |
NOPRINT |
Off |
Disables print functions. As value, provide the place where you cannot print to, in the separator texts property. Use P for printer, F for file, and S for screen (use capitals). |
QUIT |
Disabled |
Installs F8 = Stop in the welcome screen. |
STRTNOCR |
Off |
Start not CR: suppresses stating with the Enter key and replaces the text Press Enter to continue with Press any key to continue. |
TIMEOUT |
5 |
Changes the allowed period of keyboard inactivity (in minutes). A time-out of 0 means that there is no time-out. |
Parameters in the search screen
Parameter |
Function |
QUICK1 |
Value to search for when the corresponding access point is called (if only one value can be entered in the search box) or value to start searching from (if you can enter a from value and a to value in the search box). |
QUICK2 |
Value to search up to when the corresponding access point is called (can only be used if you can enter a from value and a to value in the search box). |
Parameters in the brief display
Parameter |
Function |
EDIT |
Enables editing and deleting of selected records from this screen (if not disabled by other access rights). By including the EDIT parameter on Adlib DOS screens or unmarking the Read-only option in Adlib Windows screen properties, you allow the data to be edited in a given screen. This includes access to the functions F11 (Edit), Delete, and Shift-Delete (Delete marked records). If the Adlib user does not have write access to the dataset/database, the EDIT parameter will not override this. The user will remain unable to edit or delete data. |
Parameters in the detailed display screen
The following parameters can be used in the detailed display screens:
Parameter |
Function |
DISPALL |
Displays all fields, even when empty of data. In Designer, the DISPALL parameter on a screen is visible as the marked Show empty fields screen property, |
SCROLL |
Enables scrolling within repeated fields. |
EDIT |
Enables use of record edit mode from this screen. In Designer, the EDIT parameter on a screen is visible as the marked Read-only screen property. If an Adlib user does not have write access to the dataset/database, the EDIT parameter will not have any effect, i.e. editing will remain impossible for that user. |
AUTOEDIT |
Enables edit mode without first having to press F11. The screen must also contain the EDIT parameter. |
SCRMERGE |
Makes it possible to display fields from two screens on one screen. Use the SCRMERGE parameter to display the fields of two separate screens as one screen. This is achieved by linking the second screen to the first screen and fields not contained on the first screen are added to the first screen from the second screen. A possible application of this would be to display all different fields on the first screen and all identical fields on the second screen of the composite screen (e.g. a frame, transaction date or account flag). This would mean that if any of the fixed data changed, it would only have to be changed in one screen instead of in all the screens where it occurs. The link is thus provided by the screen merge parameter SCRMERGE. In the first screen, you should set this parameter in the Tag list and for its separator text you should enter the name of the second screen (i.e. the screen with which you want to merge the first screen). Only fields on the second screen that are not contained on the first screen will be displayed. If a field is present on both screens, only the field from the first screen is used. Note that this parameter needs a text window on the screen, to work. |