Subject | Re: [IBO] Bugs: Strange behaviour: Primary Key field that filled with foreign key field value |
---|---|
Author | Cipto |
Post date | 2012-06-10T10:35:50Z |
Thank you Jason. I will download build 50 and give it a try.
As I know IBExpert can handle well about that date and timestamp params.
What component that IBExpert used? maybe we can also adopt their component
behaviour
TIA
As I know IBExpert can handle well about that date and timestamp params.
What component that IBExpert used? maybe we can also adopt their component
behaviour
TIA
----- Original Message -----
From: IBO Support List
To: IBObjects@yahoogroups.com
Sent: Saturday, June 09, 2012 5:39 AM
Subject: RE: [IBO] Bugs: Strange behaviour: Primary Key field that filled
with foreign key field value
I have been able to work out solutions for these issues that I am quite
happy with. I will be releasing build 50 later today or tomorrow but if you
would like to test sooner please let me know.
Thanks,
Jason
www.ibobjects.com
-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
Of Cipto
Sent: 22 May 2012 08:22 PM
To: IBObjects
Subject: [IBO] Bugs: Strange behaviour: Primary Key field that filled with
foreign key field value
This subject will replace my old subject of "PK field that auto filled
with wrong generator value" because the value that wrong is not come from
generator value but from foreign key value.
I already upload an example Delphi 7 source code to reproduce that bug in
the files folder:
/Bug Testing Applications/IBO Bugs Cipto22May2012.rar
In that file there is 2 bugs that I want to reported, and for this subject
of email, the bugs is on the "Bugs 1" tabsheet.
I already put a little explanation on that source code.
Here is the little description about that bugs:
When you add a new record on the detail TIBOQuery (master-detail
relationship) then the primary key of the detail TIBOQuery will
automatically filled with the value from primary key of the master
TIBOQuery. This bugs is only happen if you using table alias in the SQL
query of the detail TIBOQuery.
The right behaviour is the primary key of the detail TIBOQuery should be
empty when I add a new record (while still in dsInsert condition) and the
foreign key of the detail TIBOQuery should be filled with the primary key of
that master.
TIA