Subject | RE: [IBO] Field persistence question |
---|---|
Author | Alan McDonald |
Post date | 2002-11-26T02:01:48Z |
Helen
Set suggested it...
Intead of using 'IB_Query1.FieldByName('field1').AsString' syntax wherever I
need it and have the compiler not pickup spelling errors in the 'field1' ,
then after prepare I create TIB_Column, assign it once then use
TIB_Column1.AsString..
I haven't tried it yet but seems logical..
is it a really stupid thing to do?
Alan
Set suggested it...
Intead of using 'IB_Query1.FieldByName('field1').AsString' syntax wherever I
need it and have the compiler not pickup spelling errors in the 'field1' ,
then after prepare I create TIB_Column, assign it once then use
TIB_Column1.AsString..
I haven't tried it yet but seems logical..
is it a really stupid thing to do?
Alan
> -----Original Message-----
> From: Helen Borrie [mailto:helebor@...]
> Sent: Tuesday, 26 November 2002 11:57
> To: IBObjects@yahoogroups.com
> Subject: RE: [IBO] Field persistence question
>
>
> At 11:49 AM 26-11-02 +1100, you wrote:
> >Jason,
> >no I think Set's suggestion will work
> >TIB_Column1:=IB_Query1.FieldByName('SomeName');
> >in an after prepare event
>
> Alan,
> I'm *really* curious as to why you are doing this. What does your
> TIB_Column1 object belong to?
>
> Helen
>
>
>
> __________________________________________________________________
> _________
> IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> without the need for BDE, ODBC or any other layer.
> __________________________________________________________________
> _________
> http://www.ibobjects.com - your IBO community resource for Tech
> Info papers,
> keyword-searchable FAQ, community code contributions and more !
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>