home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 August
/
Chip_1999-08_cd.bin
/
tema
/
Ozogan
/
RUNTIME
/
PROGRAMY.ZIP
/
DBF_2.KL3
< prev
next >
Wrap
Text File
|
1998-10-29
|
732b
|
23 lines
Program Dbf_2;
begin
ConsoleClear;
ConsoleShow;
IF DbfUse("CENIK") then {pokud se otev°ela databßze}
DbfSetFilter("(CENA/100*(100+DPH))<1000");
{nastavit filtr pokud cena s da≥φ menÜφ ne₧ 1000 KΦ}
DbfGoTop; {skok na zaΦßátek databßze}
While not DbfEof do {dokud nenφ konec databßze}
begin
DbfWriteNum("CENA",DbfReadNum("CENA")*1.1);
{zv²Üenφ ceny o 10 %}
Writeln(DbfReadNum("CENA"));
DbfSkip(1); {skok na dalÜφ zßznam}
end;
DbfSetFilter(""); {zruÜit nastaven² filtr}
DbfUse("");
end else
ShowMessage('Databßzi "CENIK.DBF" nebylo mo₧nΘé otev°φt !');
end;
end;
end.