Subject | Re: [IBO] Accessing Field Contents |
---|---|
Author | Helen Borrie |
Post date | 2003-09-24T05:40:58Z |
Hi Nando et al,
At 07:21 AM 24/09/2003 +0200, you wrote:
there might be problems if late binding is being used (as IBO programmers
often do, to avoid redundant fat). It's a good fallback in that case to
take the "longer road" with VCL-to-Dataset references, to avoid getting AVs
on these calls.
Helen
At 07:21 AM 24/09/2003 +0200, you wrote:
>Helen et al,Good point, if you are using IDE-instantiated field objects; but I think
>
>H> MyIBOQuery.FieldByName(MyGrid.SelectedField.FieldName).PropertyOrMethod
>
>MyGrid.SelectedField.PropertyOrMethod should be equivalent.
there might be problems if late binding is being used (as IBO programmers
often do, to avoid redundant fat). It's a good fallback in that case to
take the "longer road" with VCL-to-Dataset references, to avoid getting AVs
on these calls.
>Better test if SelectedField is assigned, anyway.Absolument!
Helen