G
Guest
Hi
The DB was not designed efficiently to begin with - I am working with a set of existing tables to provide what the customer's expectation of their reports format to be like and I am finding it quite a challenge
Report layout now looks something like this
==========================================
fax 10
e-mail 50
phone 5
other 2
télécopieur 10
téléphone 6
Query
====
SELECT count(*) AS ReceiptMethodCount, [Receipt Method] FROM Correspondence WHERE [Correspondence Date]>=[Forms]![Reports Form]![DateFirst] And [Correspondence Date]<=[Forms]![Reports Form]![DateLast] GROUP BY [Receipt Method]
Problem
======
'télécopieur' is the french word for 'fax
'téléphone' is the french word for 'phone
Therefore the report should look like : (there are only 4 [Receipt Method] items available as input items
====================================
fax / télécopieur 20
e-mail / courriel 50
phone / téléphone 11
other / autre 2
Without going in to fix the database and create table lookups for these receipt method, I would like hard code in the query to produce the results - but I do not know how I can do so
Does anybody has any suggestions what I can try out ? Thank yo
The DB was not designed efficiently to begin with - I am working with a set of existing tables to provide what the customer's expectation of their reports format to be like and I am finding it quite a challenge
Report layout now looks something like this
==========================================
fax 10
e-mail 50
phone 5
other 2
télécopieur 10
téléphone 6
Query
====
SELECT count(*) AS ReceiptMethodCount, [Receipt Method] FROM Correspondence WHERE [Correspondence Date]>=[Forms]![Reports Form]![DateFirst] And [Correspondence Date]<=[Forms]![Reports Form]![DateLast] GROUP BY [Receipt Method]
Problem
======
'télécopieur' is the french word for 'fax
'téléphone' is the french word for 'phone
Therefore the report should look like : (there are only 4 [Receipt Method] items available as input items
====================================
fax / télécopieur 20
e-mail / courriel 50
phone / téléphone 11
other / autre 2
Without going in to fix the database and create table lookups for these receipt method, I would like hard code in the query to produce the results - but I do not know how I can do so
Does anybody has any suggestions what I can try out ? Thank yo