home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 19
/
CD_ASCQ_19_010295.iso
/
vrac
/
paolin.zip
/
GENERIC
/
GENERIC1.SC
next >
Wrap
Text File
|
1993-05-18
|
1KB
|
30 lines
; ****************************************************************************
; TITLE: GENERIC1.sc
; SESSION: KELTON/PAOLINI - Generic Utility Procedures in Paradox 4
; COPYRIGHT: (c) 1993 - David Kelton/Dan Paolini - DataStar International
; DESCRIPTION: Example of non-generic No-Answer Message routine
; ****************************************************************************
Create "Answer" "Test" : "S"
;quExecute.l() ; perform query
retval = true ; query executed ok
IF retval THEN
IF IsEmpty("Answer") THEN
Message "There were no records that matched your selection criteria. " +
"Click the mouse or press any key to return to the menu."
WHILE true
GetEvent ALL To y
IF (y["Type"] = "MOUSE" AND y["Action"] = "DOWN") OR
y["Type"] = "KEY" THEN
QUITLOOP
ENDIF
Beep Sleep 50 Beep Sleep 500
ENDWHILE
ELSE
; ...
ENDIF
ENDIF