Subject 'Divide by Zero' & Locate the n'th row
Author John Hart
Hi,

Once again I have sent you an email while still
composing it, sorry. I don't know which key causes
this.

I use Dephi 5 enterprise, IBobjects and Interbase and
have a couple of problems.

1) How can I trap a 'Divide by zero' error after it
has happened. The program allows users to enter
freeform calculations which it turns into 'before
write' triggers therefore it is too difficult to
calculate all dividing numbers and test them for zero.

2) a: How do I obtain row from a joined set when I
only know the row number.
b: Once the query has the row how do I pass three
of the fields back to Delphi.

Thank you John Hart



__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com