Using MS SQL v6.5 and CR V6
Database table A has field 'UKpostcode'
and database table B has fields 'UKpostcode prefix' and 'region'.
A simple formula can be used to to convert the UKpostcode to a locally defined valid UKpostcode prefix, from which the relevant region (e.g. North , South, East and West) can be derived.
I want my report to group various information by region. The number of postcodes in the UK is vast and the allocation to each region is constantly shifting, so it is not practical to maintain a postcode to region table.
I've tried using subreports to derive the region from the postcode and then group on the subreport value, but to no avail.
I feel the right way would be to get the SQL query to do the association, but can't see how to set it up.
Any help please?!
Database table A has field 'UKpostcode'
and database table B has fields 'UKpostcode prefix' and 'region'.
A simple formula can be used to to convert the UKpostcode to a locally defined valid UKpostcode prefix, from which the relevant region (e.g. North , South, East and West) can be derived.
I want my report to group various information by region. The number of postcodes in the UK is vast and the allocation to each region is constantly shifting, so it is not practical to maintain a postcode to region table.
I've tried using subreports to derive the region from the postcode and then group on the subreport value, but to no avail.
I feel the right way would be to get the SQL query to do the association, but can't see how to set it up.
Any help please?!