Board index » delphi » DatabaseError

DatabaseError

Hi,

Is it possible to use exception handling with EDartabaseErrors.

Using the specifics, for examble when you haven't filled in a fieldname?

Marco

 

Re:DatabaseError


Hi,

Is it possible to use exception handling with EDartabaseErrors.

Using the specifics, for examble when you haven't filled in a fieldname?

Marco

Re:DatabaseError


in the tTable.AfterOpen (or tQuery with RequestLive) event

tTable.FieldByName('somefieldname').Required := true;

This will take care of it by itself
--
Remove NOSPAM. from email

Marco Schellings <no_spam_sc...@bart.nl> wrote in article
<MPG.fae68a29806b145989...@news.bart.nl>...

Quote
> Hi,

> Is it possible to use exception handling with EDartabaseErrors.

> Using the specifics, for examble when you haven't filled in a fieldname?

> Marco

Other Threads