Subject Re: [IBO] DesignTime Question
Author Marcel Brink
Hi Jason,

Thanks anyway.
I solved it by not using a Datamodule which was created by the Component.
The Problem was that a ComponentCount always returned zero in DesignTime.
The IBOQuery's I need are now created by the Component itself, and
everything works fine now.

Marcel Brink
Xploration.


""Jason Wharton"" <jwharton@...> wrote in message
news:b723mp$jtn$1@......
> No idea what to suggest. Design-time issues have always been frustrating
to
> me.
>
> Sorry,
> Jason Wharton
> CPS - Computer Programming Solutions
> Mesa Arizona
> http://www.ibobjects.com
>
> -- We may not have it all together --
> -- But together we have it all --
>
> "Marcel Brink" <mbrink@...> wrote in message
> news:b7137d$eql$1@......
> > Hi,
> >
> > I wrote a Component which uses it's own Datamodule with
> > a few TIBOQueries. My Component has a Property Active to
> > be able to activate the Component in DesignTime.
> >
> > Before the Component can be activated, a few Properties have
> > to be set. 2 of them are Fieldnames which are used by the Datamodule.
> >
> > The problem occurs when I want to activate my Component which
> > will trigger a method to activate an TIBOQuery. This TIBOQuery has
> > 2 params which have to be set. The Values come from the 2 Properties
> > of my Components.
> >
> > When I try to set a params value i get an Exception which results in the
> > following report.
> >
> > executable : delphi32.exe
> > exception class : EAccessViolation
> > exception message : Access violation at address 064AEE84 in module
> > 'IBO40XRT_D7.bpl'. Read of address 0000017C.
> >
> > main thread ($FA0):
> > $064AEE84 IBO40XRT_D7.bpl IBODataset 4835 TIBODataset.GetParams
> > $40026AE6 rtl70.bpl Typinfo SetOrdProp
> > $0032E25F designide70.bpl Designeditors
TPropertyEditor.SetOrdValue
> > $0032F332 designide70.bpl Designeditors TEnumProperty.SetValue
> >
> >
> >
> > Any suggestions ?
> >
> > Thanks in advance,
> >
> > Marcel Brink
> > Xploration.
>
>
>
>
>
>
___________________________________________________________________________
> 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/
>
>