Subject Re: [IBO] Re: Record Count "Inaccessible"
Author Rohit Gupta
Its because the linker has removed that bit of code because it has not
been used in your app. Assign it to a local variable. With
optimisation off, it should still be there.

Having said that, the Delphi debugger (2007) has got issues where
sometimes some identifiers are inaccessible. A little bit later, they
may work again.

Rohit

On 3/10/2012 1:35 p.m., jwcane2003 wrote:
>
> Checked there. Optimization was found to be false.
>
> --- In IBObjects@yahoogroups.com <mailto:IBObjects%40yahoogroups.com>,
> "masonwheeler" <masonwheeler@...> wrote:
> >
> > In the Project Options, under Compiler.
> >
> > --- In IBObjects@yahoogroups.com
> <mailto:IBObjects%40yahoogroups.com>, "jwcane2003" <jwcane@> wrote:
> > >
> > > Thanks how do I set optimization?
> > >
> > > --- In IBObjects@yahoogroups.com
> <mailto:IBObjects%40yahoogroups.com>, Mason Wheeler <masonwheeler@> wrote:
> > > >
> > > > >Trying to debug app with sql query using TIV_Cursor. Watch
> window shows
> > > > cursor.RecordCount as inaccessible value. Any idea what is going on
> > > > would be most welcome.
> > > >
> > > > Build with Optimization turned off, and that should go away.
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > >
> >
>
>
>
>
> __________ Information from ESET Endpoint Antivirus, version of virus
> signature database 7540 (20121002) __________
>
> The message was checked by ESET Endpoint Antivirus.
>
> http://www.eset.com


--
Regards

*Rohit Gupta*
B.E. Elec., M.E., Mem IEEE, Member IET
Technical Director
Computer Fanatics Ltd

*Tel *4892280
*Fax *4892290
*Web *www.cfl.co.nz
------------------------------------------------------------------------
This email and any attachments contain information, which is
confidential and may be subject to legal privilege and copyright. If you
are not the intended recipient, you must not use, distribute or copy
this email or attachments. If you have received this in error, please
notify us immediately by return email and then delete this email and any
attachments.


[Non-text portions of this message have been removed]