 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Fred Gruber Guest
|
Posted: Fri Jul 01, 2005 9:52 pm Post subject: How can I suppress pop-up error message? |
|
|
I post here on purpose an out of bounds value into an Access MDB:
....
FieldValues['dSingleValue']:= 1e9999; // that assignment works
try
Post; // that bombs because Field dSingleValue is defined as Single
except
Writeln('failed! ',VarToStr(FieldValues['dSingleValue])); // write to debug window
end;
....
What I find disturbing is, that although I catch the error and get this line
written to my debug window, still an error message window pops up
(giving me a very misleading hint), that I have to OK-click away.
How can I suppress this pop-up error message window?
Played already around with
SetErrorMode(SEM_FailCriticalErrors);
but without success...
My environment is D6 on WinXP.
Any help would be appreciated.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|