Subject | TIB_LookupCombo and KeyDescLinks when editing a record |
---|---|
Author | hugosan@redysoft.com |
Post date | 2001-07-30T14:57:52Z |
[ C++Builder 5, IBO 3.6Cf, IB 6.01 ]
I know the "KeyLinks-KeyDescLinks IBO technique" to obtain data from
another
table "automatically", and I use it with big result.
It is much pleasant when, on a Sales system, I need to insert a new
record
and, simply typing or searching the Item_Id from a MASTER_PRODUCTS
table,
then the Description, Price and Discounts appear, filling almost the
DETAIL_SALES record (as default values). But then, I should allow to
modify
the price or discounts (that which has no problems) and finally post
the
record. Well, if re-editing that record, I lose my modified
price/discounts
because the KeyLinks-KeyDescLinks act again !
Can I avoid this behaviour? I find some like "KeyDescLinks only on
Insert
mode".
If it isn't possible automatically, please give me any guideline on
how
catch this...
Thanks in advance,
Hugo.
I know the "KeyLinks-KeyDescLinks IBO technique" to obtain data from
another
table "automatically", and I use it with big result.
It is much pleasant when, on a Sales system, I need to insert a new
record
and, simply typing or searching the Item_Id from a MASTER_PRODUCTS
table,
then the Description, Price and Discounts appear, filling almost the
DETAIL_SALES record (as default values). But then, I should allow to
modify
the price or discounts (that which has no problems) and finally post
the
record. Well, if re-editing that record, I lose my modified
price/discounts
because the KeyLinks-KeyDescLinks act again !
Can I avoid this behaviour? I find some like "KeyDescLinks only on
Insert
mode".
If it isn't possible automatically, please give me any guideline on
how
catch this...
Thanks in advance,
Hugo.