Subject Re: Question about dates and question about tib_memo.
Author Geno
--- In, "Luiz Alves" <cprmlao@i...> wrote:
> > OnSetText event to check for a date of ' / / ' and it so do a
> > field.clear. This worked great but can't figure a way to
> > a similar thing using IBO.
> Try it on OnSetText event to DateTime Field:
> var s:string;
> begin
> s:=trim(Text);
> with (Sender as TField) do
> if s='/ /' then
> Clear;
> end;
> I tryed and works well to me, although I don't use TIBO components
to edit
> data.
> PS:IB_Date with TIB_Query(not TIBOQuery) treats it better.

Hello Luiz:

Can you be a little more specific. I am using TIB_Querys and have
tried both TIB_Edit and TIB_Date. I don't see how to access an
OnSetDate event in either.

Thanks, Geno
> > TIB_meno:
> > Have a TIB_Memo control linked to a blob field in my table. Can't
> > seem to get the TIB_Memo to accept data. Acts like it is read-
> I can't see what is wrong. Maybe with more information.
> Luiz.