Subject | Re: [IBO] DrawCell method query |
---|---|
Author | Itte no |
Post date | 2003-02-04T09:21:18Z |
| From: Alan McDonald [mailto:alan@...]
| Sent: Tuesday, 4 February 2003 7:01 PM
| To: IBObjects@yahoogroups.com
| Subject: RE: [IBO] DrawCell method query
|
|
| thanks Lester,
| no my fields are all populated - they are not null boolean Y/N fields
| I have since found that
| if (IB_Query1.BufferFields[4].AsString='Y') then
| works where
| if (IB_Query1.BufferFieldByName('myboolfield').AsBoolean='Y') then
| does not
..and it isn't case sensitive ?
It should not be too hard to jump into step mode and see for yourself what field names are in fact present. Just compile with debug info.
Bjørge Sæther
bjorge@...
Tlf.: 90 82 22 39
| Sent: Tuesday, 4 February 2003 7:01 PM
| To: IBObjects@yahoogroups.com
| Subject: RE: [IBO] DrawCell method query
|
|
| thanks Lester,
| no my fields are all populated - they are not null boolean Y/N fields
| I have since found that
| if (IB_Query1.BufferFields[4].AsString='Y') then
| works where
| if (IB_Query1.BufferFieldByName('myboolfield').AsBoolean='Y') then
| does not
..and it isn't case sensitive ?
It should not be too hard to jump into step mode and see for yourself what field names are in fact present. Just compile with debug info.
Bjørge Sæther
bjorge@...
Tlf.: 90 82 22 39