Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating calculated field in SDT
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Titre:
Creating calculated field in SDT
Divers
Thread ID:
00722480
Message ID:
00722480
Vues:
53
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform