Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating calculated field in SDT
Message
 
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00722480
Message ID:
00722483
Views:
21
Hi Dmitry,

Nice to see you here :)

Just a shot: could it be done using triggers?

>I need to create a calculated field in one table based on SUM of another field in another table.
>Example: Parts Table: PART_NO, PART_DESCR, etc.
> Quantity Table: PART_NO, QTY, UNIT_PRICE
>
>Since Quantity Table can have more than one record for the same part (different unit price), I need to create a calculated field in Parts Table which will sum QTY for the part in Quantity Table.
>I need this field for use with SFReports so that user can create a report for Parts Table and show Qty for each part.
>
>How would you do it, create this type of calculated field in SDT? Any other suggestions would be greately appreciated.
>
>TIA,
>Dmitry
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform