Subject | Re: [IBO] TIB_LookupCombo and KeyDescLinks when editing a record |
---|---|
Author | Andreas Pohl |
Post date | 2001-07-30T17:34:04Z |
Have a look at TIB_Query.OnValidateField. This event is providing just this
wanted behavior.
Mit freundlichem Gruss & Best Regards
Andreas Pohl
apohl@...
www.ibp-consult.com
wanted behavior.
Mit freundlichem Gruss & Best Regards
Andreas Pohl
apohl@...
www.ibp-consult.com
----- Original Message -----
From: <hugosan@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, July 30, 2001 4:57 PM
Subject: [IBO] TIB_LookupCombo and KeyDescLinks when editing a record
> [ 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.
>
>
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>