Subject | Re: [IBO] Preventing a field from being updated |
---|---|
Author | Marc Leclerc |
Post date | 2001-03-15T22:13:36Z |
Hi,
This is not the final code but just something put together for simplicity. I
have more to do in there including the option to delete the details and
allow the change.
Abort raises a special "silent exception" (EAbort), which operates like any
other exception, but does not display an error message to the end user
<>
This is not the final code but just something put together for simplicity. I
have more to do in there including the option to delete the details and
allow the change.
> Marc,<Delphi snip>
>
> I don't see that you raised an exception in your code (Showing a message
> isn't raising an exception). Have you tried to do so?
>
Abort raises a special "silent exception" (EAbort), which operates like any
other exception, but does not display an error message to the end user
<>
> And don't use RecordCount; there are better ways to check if records... not IB_QueryContributions.Eof also
> exists.
>
> You can use:
>
> if ( NOT IB_QueryContributions.IsEmpty )
> or:
> if ( NOT IB_QueryContributions.FieldbyName('PrimaryKeyField').IsNull )
>
> instead.
>
> Luc.
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>