Category : Paradox DBMS
Archive   : TECH91.ZIP
Filename : TI699.ASC
PRODUCT : Paradox NUMBER : 699
VERSION : 2.0 & up
OS : DOS
DATE : September 11, 1991 PAGE : 1/2
TITLE : Implementing Fieldview in a PAL Application
In a WAIT TABLE or WAIT RECORD statement that lists
to process Fieldview correctly. While in WAIT TABLE or WAIT
RECORD the user can enter Fieldview by pressing
will arise. When the user presses
Fieldview, the Paradox code to handle
invoked causing Paradox to insert or delete a record rather
inserting or deleting a character.
In Fieldview mode,
characters, and in Edit and Coedit mode, these keys should insert
and delete records.
The correct way to implement
is to add Fieldview to the Until clause of the WAIT statement.
The following PAL program demonstrates this method.
===============================================================
COEDIT "Customer" ; Coedit the Customer Table
WHILE TRUE
WAIT RECORD
UNTIL "DO_IT!","FIELDVIEW","DEL","INS","PGUP","PGDN"
; Note Fieldview in above line
SWITCH
CASE RETVAL = "DO_IT!" : ;
DO_IT!
QUIT
CASE RETVAL = "FIELDVIEW" :
FIELDVIEW
; Fieldview handling code
; Invoke Fieldview, wait for Enter to be
pressed
WAIT FIELD
PROMPT "Press Enter to end fieldview",""
UNTIL "ENTER"
; User may insert and delete characters while
in
PRODUCT : Paradox NUMBER : 699
VERSION : 2.0 & up
OS : DOS
DATE : September 11, 1991 PAGE : 2/2
TITLE : Implementing Fieldview in a PAL Application
; Fieldview
OTHERWISE : ; Process other keys
KEYPRESS RETVAL
ENDSWITCH
ENDWHILE
===============================================================
This program places the "Customer" table into Coedit mode, then
uses WAIT RECORD to allow the user to edit the table until
pressed. When the user enters Fieldview mode, by pressing
the user to make changes to the field. While in Fieldview the
user can press
characters. When the user presses
terminates and returns to the WAIT TABLE statement allowing the
user to continue Coediting the table. When a user presses
delete records.
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/