ianbrown76
Technical User
Hi,
I need to sort a report on a calculated field. I have read that I should put the calculation in the underlying query.
When I put the same code in the SQL I get a message saying that the field cannot be found yet it works within the report.
I'd like to find the sum of items purchased in the 'electrical sales' table where the 'product number' is the same as that in 'electical items'. Here is my coding:-
Dsum ("[quantity purchased]","electrical sales","[product number] =[electrical items].[product number]" as qtysold
If anybody can help or offer any alternaltive solutions I'd most appreciate it.
Ian
I need to sort a report on a calculated field. I have read that I should put the calculation in the underlying query.
When I put the same code in the SQL I get a message saying that the field cannot be found yet it works within the report.
I'd like to find the sum of items purchased in the 'electrical sales' table where the 'product number' is the same as that in 'electical items'. Here is my coding:-
Dsum ("[quantity purchased]","electrical sales","[product number] =[electrical items].[product number]" as qtysold
If anybody can help or offer any alternaltive solutions I'd most appreciate it.
Ian