I have created 3 tables:
1. GSM (stored the user name)
2. Voice_Plans (stored both PLAN Number and Charges of the Plan)
3. Phones (stored Device Name and Charges of the Device
In the GSM table
- I have a Lookup field linked to `Voice_Plans`.`Charges`
- and I have another Lookup field linked to `Phones`.`Charges`
- and created another field with name TOTAL (to show the total of the above two fields that are linked to another two tables)
in CALCULATED FIELD I have entered the following SQL command:
SELECT (`Voice_Plans`.`Charges` + `Phones`.`Charges`) FROM Voice_Plans, Phones WHERE id='%ID%'
but I am not getting the TOTAL of the above two fields, so I am wondering;
1. If what I am intending to do is possible in Calculated Field
2. secondly, is the command correct ?
