Try Except block

Can someone help me to get an understanding of exception handling.

Probably the three types I am interested in are...

1- A failed query.

2- A general BDE error

3- A key violation when records are being inserted during a repeat loop. -
Ideally....I would like to tell the user that error has occurred and then
offer to skip that record insertion and continue. There is a section in the
manual on this (Using the E parameter), but I am not winning with that just

thanks all...
(Delphi 3.0 c/s)

  Please remove STOPSPAM from my e-mail address
      Choose Cruelty Free - Not Tested on Animals
                   Your free guide to shopping