Subject Re: [IBO] IB_Query-PropertyEditor and AccessViolation everytime
Author Helen Borrie (TeamIBO)
At 11:51 AM 27-05-02 +0200, you wrote:
> > Is your creation order OK? Is is possible you have any data objects
> > with dependencies on objects that are not created until run-time? e.g. a
> > form that is created before a data module?
> >
>
>I don't know exactly, what you mean.

For example, if you have PrepareSQL handlers resident in a datamodule, that
refer to objects in a form that isn't created...only a wild guess, a place
to look, since I can't reproduce your problem.

MyQuerySQL: SELECT Field1, Field2, Field3 from aTable
where FieldX = MyForm.Edit1.Text

when it should be

SELECT Field1, Field2, Field3 from aTable
where FieldX = :FieldX


>How can I use the monitor at designtime ?

You can connect to your server with IB_SQL and run a monitor in there.

However, I still can't get the ObjInspector or the PropEditor to cause an
AV with an empty SQL property. It just produces an information message
saying "Cannot prepare a blank statement".


regards,
Helen Borrie (TeamIBO Support)

** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com