Subject | Re: [IBO] Invalid variant operation |
---|---|
Author | Michael Vilhelmsen |
Post date | 2004-01-19T10:53:31Z |
--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@t...> wrote:
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 ;-)
Michael
> At 09:46 AM 19/01/2004 +0000, you wrote:I'll do that.
> 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 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 ;-)
Michael