Hello
stock name |account__|share value_|__share #_|____Total value
stock name |account__|share value_|__share #_|____Total value
__a____|1___|____#______|____#____|_______#
__b____|1___|____#______|____#____|_______#
__c____|1___|____#______|____#____|_______#
With the four columns above, a calculation of the total value of stocks a) b) and c) can be made with
par.ASetStringProp(WPAT_PAR_COMMAND, 'left(2)*left(1)');
Question:
If there are multiple accounts holding a single stock type as in below.
stock name |account__|share value_|__share #_|____Total value
__a____|1___|____#______|____#____|_______#
__a____|2___|_______________|____#____|_______#
__a____|3___|_______________|____#____|_______#
__b____|1___|____#______|____#____|_______#
__c____|1___|____#______|____#____|_______#
Is there a mechanism so that the share value could be calculated for shares of stock a) with the share value being entered for only the first account (see above). For example account 2 would be par.ASetStringProp(WPAT_PAR_COMMAND, 'left(2)up(1)*left(1)');
TIA
John