Archive for the Category: Algorithms

Fix “Key Violation” on Paradox tables.

“Key Violation” errors occur whenever a new record is created with a primary key that already exists. This means that the field you defined as your primary key must be unique on the table. No other record can have that value, and it generates a “Key Violation” error when this happens. Share: Bookmark on Delicious […]

Also posted in Delphi, Paradox Tagged auto increment, delphi code, delphi programs, integer number, paradox table, paradox tables, primary key, violation error 13 Comments

How to compress/decompress multiple files using Delphi 7?

Sometimes, Delphi 7 programmers need to implement some kind of compression/decompression features in their programs. Imagine you need to make a backup of files, like paradox databases or making an import/export feature that needs several files. The best way to do this is using compression tools to archive all the files into one single exportable […]

Also posted in Delphi Tagged compression decompression, decompression features, delphi 7, paradox databases, zip ace 18 Comments