hi guys... maybe anybody can help me out??
there is a table in a database... which is named "point"
in this table lots of points are stored... like following:
point.ID- Point.X- Point.Y- Point.Z-
1 - 10 - 10 - 10
2 - 20 - 20 - 30
3 - 30 - 5 - 4
abc - 40 - 50 - 145
def - 44 - 45 - 10
.....and so on
i have to take the x, y, and z values of point.ID abc and def and calculate with them....
the problem is, i can not have only values from 2 different records ( i mean data row with record)
i created a formula:
if {POINT.id} = "abc" THEN {POINT.x}
if {POINT.id} = "abc" THEN {POINT.y}
if {POINT.id} = "abc" THEN {POINT.z}
> AND SO ON....(same for def)
then i have the values in the new formulafields called for instance
@abc_X
but i have only values from abc OR def ....
i need both but how can i do that...
i need the x, y, z values of the mentioned two ID's and thats all...
all other points i don't need
then i calculate a special new datafield with the following formula e.g.:
({abc_X}-{def_X} / {abc_Y}-{def_Y})
(where abc_X e.g. the value x of Point.ID abc is...)
i need the x, y, z, values of two PointID's , two rows.. that must be possible... not?
thank u......
stonee
there is a table in a database... which is named "point"
in this table lots of points are stored... like following:
point.ID- Point.X- Point.Y- Point.Z-
1 - 10 - 10 - 10
2 - 20 - 20 - 30
3 - 30 - 5 - 4
abc - 40 - 50 - 145
def - 44 - 45 - 10
.....and so on
i have to take the x, y, and z values of point.ID abc and def and calculate with them....
the problem is, i can not have only values from 2 different records ( i mean data row with record)
i created a formula:
if {POINT.id} = "abc" THEN {POINT.x}
if {POINT.id} = "abc" THEN {POINT.y}
if {POINT.id} = "abc" THEN {POINT.z}
> AND SO ON....(same for def)
then i have the values in the new formulafields called for instance
@abc_X
but i have only values from abc OR def ....
i need both but how can i do that...
i need the x, y, z values of the mentioned two ID's and thats all...
all other points i don't need
then i calculate a special new datafield with the following formula e.g.:
({abc_X}-{def_X} / {abc_Y}-{def_Y})
(where abc_X e.g. the value x of Point.ID abc is...)
i need the x, y, z, values of two PointID's , two rows.. that must be possible... not?
thank u......
stonee