Hi,
I'am trying to use a "SELECT SUM(tbl.field)" SQL-query inside a grouping and want to use the Group name field to calculate the different values, but I don't get this right.
Crystal help says:
"group name fields look like function calls. However, they are really shorthand notation for a report field.
Group name field: GroupName({Orders.Ship Via})."
I do not understand this and would be very grateful if someone could help me.
My sql-query look like this:
SELECT SUM(`tbl`.`field1´)
FROM u_tbl
WHERE `tbl`.`field2`=2 and `tbl`.`field3`=Groupname({`tbl`.`field4`})
I'am using CR10 and MS Access.
Thank you for your help!
/
I'am trying to use a "SELECT SUM(tbl.field)" SQL-query inside a grouping and want to use the Group name field to calculate the different values, but I don't get this right.
Crystal help says:
"group name fields look like function calls. However, they are really shorthand notation for a report field.
Group name field: GroupName({Orders.Ship Via})."
I do not understand this and would be very grateful if someone could help me.
My sql-query look like this:
SELECT SUM(`tbl`.`field1´)
FROM u_tbl
WHERE `tbl`.`field2`=2 and `tbl`.`field3`=Groupname({`tbl`.`field4`})
I'am using CR10 and MS Access.
Thank you for your help!
/