Subject | Re: [IBO] New user basic question |
---|---|
Author | Daniel Rail |
Post date | 2003-05-23T10:15:52Z |
Hi,
At May 23, 2003, 05:18, pchaisty wrote:
That's what I use. Your first example would work with IB_Query, if
you use IB_Query's Fields equivalent which is Columns. You can find
more information in IBO's help.
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)
At May 23, 2003, 05:18, pchaisty wrote:
> Can anyone please help meSimply using IB_Query.FieldByName('FieldName').AsInteger should work.
> I am a new user to IBObjects and what little hair I have left on the
> top of my head is in danger of being pulled out.
> Using the delphi convention (d5) I have the following
> xxxxxxx := IBTable1.Fields.Fields[2].AsString;
> or
> xxxxx := IBTable1.FieldByName('FieldName').AsInteger;
> I have now converted over to using an IB_Query component, everything
> works in terms of IBgrids etc, but how do I implement my old coding
> method?
That's what I use. Your first example would work with IB_Query, if
you use IB_Query's Fields equivalent which is Columns. You can find
more information in IBO's help.
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)