Subject Re: [IBO] Invalid variant operation
Author Michael Vilhelmsen
--- In, Helen Borrie <helebor@t...> wrote:
> At 09:46 AM 19/01/2004 +0000, you wrote:
> Yes, of course. I hadn't even considered that you had unassigned
> parameters. You're getting this invalid variant error because the
> parameter is null (being unassigned.)
> >If I instead does this on OnDataChange on the first TIBOQuerys
> >datasource it works:
> >
> > IBOQuery2.Close;
> > IBOQuery2.ParamByName('Navn').AsString := IBOQuery1.FieldByName
> >('Navn').AsString;
> > IBOQuery2.OPen;
> It should be in the BeforeOpen event of the query itself.

I'll do that.

I think I'm beginning to get the big picture.

I must admit, that IBO can do a LOT of work for me.
I have to get use to that ;-)