On exit from the model# field you should look up the list price.  Use a 
Property Textvalue to put the list price in the KPRSell DBEdit field.  The 
default property for KPRSell would be read-only true (or you can use "enabled" 
but it has a tendency to lighten the value and some have problems reading 
it).

On exit from the Sortone field, if the value is TA,TB, or TC, then change 
the Property Comp_ListPrice read-only 'false'.  Otherwise you can set focus 
on another field.

Seems easy to do unless I'm misreading what you want...

Karen


 
> In our Order entry form, under most circumstances I do not want the entry 
> people to be able to change the list price for items sold.
> 
>  There is however one case where it would be good for them to change the 
> list price.
> 
>  When we sell one product the list varies based on the additions to the 
> product.  We do not want to have line items for those items because the 
> product is essentially the same with added gauges, etc. 
> 
>  The field that determines the lookup for the list price is Model# 
> (componentID Order_Model).  
> The field that would allow changing of the list price is called Sortone.  
> If this one is TA or TB or TC I would allow list price change.
>  The field that would be changed is KPRSell (ComponentID Comp_ListPrice).
> 
>  I was thinking of using an On exit EEP in the Model# field
> 
>   
> 
>  Jim
> 
> 
> 

Reply via email to