{sql:select * from her_enquiry
WHERE her_enquiry.rowid = @File number@ 
}
 

 

 

CLWYD-POWYS ARCHAEOLOGICAL TRUST

HISTORIC ENVIRONMENT RECORD

ENQUIRY REPORT - CORE RECORDS

 

Enquiry reference number: {enq_no}

Prepared by: {wat_staff}, Clwyd-Powys Archaeological Trust

Produced for: {name}, {organisation}

 


 

The following information has been provided under the terms and conditions of access as detailed on the CPAT HER Enquiry form and in the Welsh Archaeological Trusts Access and Charging Policy.  Copyright is reserved on all data supplied from the CPAT HER. All output resulting from the use of the data must acknowledge the source as follows:-  Copyright CPAT HER partnership, 2021 (and in part Crown, 2021).

 

If you wish to use information derived from material held by the CPAT HER for publication in printed or multimedia form or to compile resources for commercial use, prior permission must be obtained in writing.

 

 

Search criteria
 

{criteria}

 

 

 

{subtable:

SELECT
her_core.prn
,ifnull(her_core.name,' ') as name
,her_core.form
,ifnull(her_core.summary,'-') as s1
,ifnull(her_core.desc_1,'-') as d1
,ifnull(geo_locations.community,'-')community
,(select group_concat(concat(ifnull(period,''),',',ifnull(type,''),'. Rank: ',ifnull(`rank`,'-')) SEPARATOR '[br]')
from her_core_site_type where watprn=her_core.watprn group by watprn) `t1`
,(select group_concat(concat(
'Condition: ',ifnull(`condition`,''),
' Description: ',ifnull(condesc,'-'),
' Related event: ',ifnull(eventprn,'-'),
' Date of entry:',ifnull(compiledon,'')
) SEPARATOR '[br]')
from her_condition where watprn=her_core.watprn group by watprn) `c1`
,ifnull((select group_concat(concat_ws(' ',
ifnull(status,'None recorded '),
ifnull(reference,' '),
ifnull(grade,'')
) SEPARATOR ', ')
from her_status where watprn=her_core.watprn group by watprn),'-') `status1`
,ifnull((select GROUP_CONCAT(ifnull(`ngr`,'-')SEPARATOR ', ')
from geo_locations where watprn=her_core.watprn group by watprn),'-') `ngr`
,ifnull((select GROUP_CONCAT(DISTINCT concat_ws(' ',
ifnull(her_source1.author,' '),
ifnull(her_source1.year,' '),
ifnull(her_source1.title,' '),
ifnull(her_source1.refno,' '),
ifnull(her_source1.journal,' '),
ifnull(her_source1.volume,' '),
ifnull(her_source1.sertitle,' '),
ifnull(her_source1.serno,' ')
) SEPARATOR '[br]' )
from her_source1_link
join her_source1 on her_source1.rowid=her_source1_link.source_id
where her_source1_link.watprn=her_core.watprn group by her_source1_link.watprn),'-') `bib`
,ifnull((select group_concat(concat_ws(' ',
ifnull(quantity,' '),
ifnull(fmaterial,' '),
ifnull(ftype,' '),
ifnull(ftypematq,' '),
ifnull(fnotes,' '),
ifnull(flocation,' ')
) SEPARATOR ', ')
from her_artefact where watprn=her_core.watprn group by watprn),'-') `artefacts`
,ifnull((select group_concat(concat_ws(' ',
ifnull(her_c14.labnumber,' '),
ifnull(her_c14.material,' '),
ifnull(her_c14.date,' '),
ifnull(her_c14.datequal,' '),
ifnull(her_c14.devqual,' '),
ifnull(her_c14.deviation,' '),
ifnull(her_c14.comment,' ')
) SEPARATOR ', ')
from her_c14 where watprn=her_core.watprn group by watprn),'-') `c14`
,ifnull((select group_concat(ifnull(photonum,'-')SEPARATOR ', ')
from her_photo_link where watprn=her_core.watprn group by watprn),'') `photo`
,ifnull((select group_concat(concat_ws(' ',
ifnull(her_xrefs.relationship,'-'),
ifnull(her_xrefs.xref_uid,'-')
) SEPARATOR ', ')
from her_xrefs where watprn=her_core.watprn group by watprn),'-') `xref`
,ifnull((select group_concat(ifnull(ewatprn,'-')SEPARATOR ', ')
from her_core_event_link where watprn=her_core.watprn group by watprn),'') `event`
,ifnull((select GROUP_CONCAT(ifnull(`url`,'-')SEPARATOR ', ')
from geo_locations where watprn=her_core.watprn group by watprn),'-') `url`
FROM her_core
JOIN her_enquiry_link_core on her_core.watprn=her_enquiry_link_core.watprn
LEFT JOIN geo_locations on geo_locations.watprn=her_core.watprn
WHERE her_enquiry_link_core.fileno=[rowid]

group by her_core.name limit 10000;
title: [b]PRN[/b] ,  prn ,  [b]NAME[/b] ,  name,   [br][br],  [b]NGR[/b] ,  ngr,  [b]COMMUNITY[/b] ,  community,  [br][br], [b]TYPE [/b] ,   t1,  ,[br][br], [b]SUMMARY[/b]  ,  s1,  [br][br], [b]DESCRIPTION[/b] ,  d1, [br][br], [b]CONDITION[/b] , c1, [br][br], [b]STATUS[/b] , status1, [br][br], [b]CROSS REFERENCES[/b] , xref, event, [br][br], [b]SOURCES[/b][br], bib, [br][br]  [b]ARTEFACTS [/b][br], artefacts, [br] [br],  [b]C14 DATES[/b][br], c14, [br][br] , [b]PHOTOS[/b][br], photo, [br][br] , [b]ARCHWILIO URL [/b][br], url, [br] ,  }

{date("m.d.y (H:m)")} - HTML file produced from CPAT HER, CPAT file number {rowid}. 
Clwyd-Powys Archaeological Trust, The Offices, Coed y Dinas, Welshpool, SY21 8RP.
tel (01938) 553670, fax (01938) 552179, email her@cpat.org.uk, website www.cpat.org.uk



Please note that the sites listed above are only the sites of which we are aware at the current time and there may be others that have yet to be discovered.

 

While the Regional Historic Environment Record contains information on all of the following, we do not hold the definitive data for Listed Buildings, Scheduled Ancient Monuments, Registered Parks and Gardens or Registered Historic Landscapes, and it is recommended that you contact Cadw to ensure you have the most up to date data for these monuments - particularly if you require digital polygons showing the full extents of Registered or Scheduled areas. Similarly, there may also be additional sites in the area in the National Monuments Record of Wales, held by the Royal Commission on the Ancient and Historical Monuments of Wales, and again you are advised to contact them directly to obtain such information.

 

If your enquiry relates to a commercial development, and if you haven't already done so, please contact Mr Mark Walters (markwalters@cpat.org.uk), the Development Control Archaeologist for Clwyd and Powys who will provide further advice regarding best practice in mitigating against damage to any archaeological or historical remains which might exist within the area of the proposed works.

 

Enquirers are required to provide a copy (paper or digital) of any document or published report that makes use of information obtained from the HER for incorporation into the record.

 

Enquirers are required to include the following acknowledgement in any document or published report that makes use of information obtained from the HER: - Information obtained from the Regional Historic Environment Record curated by the Clwyd-Powys Archaeological Trust and the HER Enquiry Number.