Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating calculated field in SDT
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Stonefield
Title:
Creating calculated field in SDT
Miscellaneous
Thread ID:
00722480
Message ID:
00722480
Views:
51
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
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform