Simple example (for Delphi programmer) how to get database list (via BDE), table list and field list.