Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where is the best place for automated calc?
Message
From
01/12/2003 10:24:15
 
 
To
27/11/2003 02:45:23
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00853965
Message ID:
00854678
Views:
17
>Hi,
>Where is the best place in bizobj for calling automated calculation method ? ex.
>
>1. calculate item amount immediately after user add/edit item
>2. calculate invoice total amount immediately after user add/edit item.
>

Depending on how you handle the add/edit... If you're calling a modal form to do the add/edit, recalculate and refresh after the modal form is dismissed. If it's from a non-modal form, you'll have more trouble (at least, I have had) coordinating the timing and reference between forms. If the changes are made within the same form, in the Valid of the appropriate control that will set the price, add a call to recalculate and refresh the total.

Chris.
Previous
Reply
Map
View

Click here to load this message in the networking platform