Subject | Re: [IBO] TIB_Grid with non cancalable numeric error message! |
---|---|
Author | Svein Erling Tysvær |
Post date | 2001-04-26T07:35:20Z |
>A floating point field contains a value, let's say '0.5'. The userJohannes,
>adds accidentally another dot at the end.
>An error message "'0.5.' is not a valid floating point value." pops
>up, which cannot be cancelled out. Any click on 'Ok' or 'x' does not
>make the message box go away while it is impossible to edit the
>numeric value in the TIB_Grid field. Well, the message box does go
>away but only to pop up again straight away.
I don't think this is a problem with IBO - I just used IB_WISQL, entered a
value with two dots in a field and got the same error as you did, but only
once and I had no problems cancelling the record or changing the value. If
you run your program from within Delphi (or BCB) and try to step through
the code you will probably find out what is causing you your problems. My
guess is that you do some kind of loop, possibly including a try .. except
statement and that your except block does something strange when this error
occurs. But only you can find the exact error, no-one on this list
(possibly excepting Jason and Geoff) knows how to debug a program they
haven't seen.
HTH,
Set