home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
progpas
/
gsdb25.arj
/
DB_XPL05.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1990-11-28
|
480b
|
26 lines
program DB_Xpl05;
uses
CRT,
DOS,
GS_KeyI,
GS_dBFld,
GS_dBase;
var
Health : GS_dBFld_Objt;
begin
ClrScr;
Health.Init('HEALTH');
Health.Open;
Health.Index('FOODNAME');
Health.GetRec(Top_Record);
while (Health.FieldDisplayScreen) and (not Health.File_EOF) do
begin
if GS_KeyI_Chr = Kbd_PgUp then
Health.GetRec(Prev_Record)
else
Health.GetRec(Next_Record);
end;
Health.Close;
end.