Subject | Re: [IBO] 4.3: TDataset Parameter Value wrong |
---|---|
Author | Jason Wharton |
Post date | 2003-11-18T20:07:56Z |
If anywhere in code you manually assign a value to a parameter it flags the
parameter as bound and from that point forward ignores the values in the
master dataset.
I suspect this is what you are facing.
It was a bug in IBO that I didn't do this before as this is standard dataset
behavior.
Where there may still be an issue is if I am not resetting that at the time
that I should. For example, if you close the dataset, should it be reset, or
should it remain as long as the parameter remains?
Jason Wharton
parameter as bound and from that point forward ignores the values in the
master dataset.
I suspect this is what you are facing.
It was a bug in IBO that I didn't do this before as this is standard dataset
behavior.
Where there may still be an issue is if I am not resetting that at the time
that I should. For example, if you close the dataset, should it be reset, or
should it remain as long as the parameter remains?
Jason Wharton
----- Original Message -----
From: "Nando Dessena" <nandod@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, November 18, 2003 10:02 AM
Subject: Re: [IBO] 4.3: TDataset Parameter Value wrong
> Ed,
>
> ED> I have a m/d relationship between TIBODatsets that is on separate
> ED> forms established by setting the details.DataSource := master
> ED> datasource value. It worked fine in 4.2x version but in 4.3 the
> ED> parameter for the detail dataset (CLIENT_ID) is not correct.
>
> it looks like the param stuff in TIBODataSet needs some further
> refinishing. I suggest you to duplicate the problem in a simple app
> and send it to Jason for him to look at and fix the problem.
>
> I am suggesting that because I am sure that in the general case this
> kind of master-detail setup already works; I had a sample app that now
works
> in 4.3A. Chances are you are doing something special that is causing
> or showing the error.
>
> Ciao
> --
> Nando mailto:nandod@...