Subject Re: [IBO] chance Only is null
Author Marcilio Soares
So Try

Thanks !
Marcilio Soares

----- Original Message -----
From: Support List
To: IBObjects@yahoogroups.com
Sent: Monday, September 26, 2011 11:45 PM
Subject: RE: [IBO] chance Only is null



Marcilio,

> Try in TIB_QUERY.
> Field(varchar or integer) is NOT NULL in Firebird 2.5. ok ?
>
> If field is Null then can change.
> If field contains value can not change.
>
> There property in IB_QUERY to do this.

There isn't a property to do this. You will need to provide a custom event
handler with the OnGetReadOnly or something of that sort. You might also be
able to call SysUtils.Abort in the OnValidate event so that it would quietly
abort making a change when the value isn't null.

Regards,
Jason LeRoy Wharton
www.ibobjects.com





[Non-text portions of this message have been removed]