Re: [IBO] Master detail Bug with MasterParamLinks?
Author
Marco Menardi
Post date
2001-10-31T13:11:04Z
--- In IBObjects@y..., "Jason Wharton" <jwharton@i...> wrote:
...
>
> I'm missing something because I fail to see what the problem is.
>
> There is nothing special about the P_ prefix. You simply gave that
as a name
> for your parameter and told IBO the column in the master dataset to
get its
> value from. If you want that value to also be plugged into a column
when
> inserting a record you have to make the parameter name the same as
the
> column name to receive the value. That is the way I designed it to
work and
> that is what I believe it does. If it doesn't, that is what I will
make it
> do if you say it isn't doing that.
Oh, I see. So I should explicitly set Insert.SQL with P_something and
it should work... Ok, it's ok, but it's confusing, since the
documentation state the equivalence of MasterLinks and
MarterParamsLinks, and that parameter name is not mandatory, while
there is this aspect to keep in consideration if you insert records.
I think Helen should point this out in her GSG and you could, if
possible, write the automatic generated (if none is explicity set)
Insert statement taking that in account.
But, bside all, what are the advantage, if any, of one solution
respect the other (MasterLinks/MarterParamsLinks)?
Thanks
Marco Menardi