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

 

 

GLAMORGAN GWENT ARCHAEOLOGICAL TRUST

HISTORIC ENVIRONMENT RECORD

ENQUIRY REPORT - EVENT RECORDS

 

Enquiry reference number: {enq_no}

Prepared by: {wat_staff}, Glamorgan Gwent Archaeological Trust

Produced for: {name}, {organisation}


 

The following information has been provided under the terms and conditions of access as detailed on the GGAT HER Enquiry and Copyright Declaration forms.  Copyright is reserved on all data supplied by the GGAT HER Charitable Trust. All output resulting from the use of the data must acknowledge the source as follows:-
Derived from information held by the GGAT HER Charitable Trust copyright.


 

If you wish to use information derived from material held by the GGAT HER Charitable Trust for publication in printed or multimedia form or to compile resources for commercial use (with the exception of grey literature reports), prior permission must be obtained in writing.

 

 

Search criteria
 

{criteria}



 

 

 

{subtable:
SELECT her_event.prn,
ifnull(her_event.name,' ') as name,

 her_event.eyear,
her_event.event_type,
ifnull(her_event.eventbyo,'-') as evo,
ifnull(her_event.eventbyp,'-') as evp,
 ifnull(her_event.summary,'-') as s1,

ifnull(her_event.desc_1,'-') as d1,
ifnull(her_event.comments,'None') as com1,
ngr,

 ifnull(geo_locations.community,'-')community,

 ifnull(GROUP_CONCAT(DISTINCT concat('TYPE: ',ifnull(her_artefact.ftype,'None recorded'),' MATERIAL: ',ifnull(her_artefact.fmaterial,'-'),' PERIOD: ',ifnull(her_artefact.period1,'-'),' DESCRIPTION: ',ifnull(her_artefact.fnotes,'-')) SEPARATOR '[br]'),' ') as art,
 ifnull(GROUP_CONCAT(DISTINCT concat(ifnull(her_xrefs.xref_uid,'-')) SEPARATOR ', '),', ') as xref,
 ifnull(GROUP_CONCAT(DISTINCT concat(ifnull(her_core_event_link.watprn,'')) SEPARATOR ', '),' ') as core,

 ifnull(GROUP_CONCAT(DISTINCT concat(ifnull(her_source3.sources,' ')) SEPARATOR '[br]'),'') as sources,

(SELECT ifnull(GROUP_CONCAT(DISTINCT concat(ifnull(her_source1.srcetype,''),' ',ifnull(her_source1.author,' '),' ',ifnull(her_source1.year,' '),' ',ifnull(her_source1.title,' '),' ',ifnull(her_source1.refno,' '),' ',ifnull(her_source1.url,' ') ) SEPARATOR '[br]' ),'') )  as bib

FROM her_event
JOIN her_enquiry_link_event on her_event.watprn=her_enquiry_link_event.watprn
LEFT JOIN geo_locations on geo_locations.watprn=her_event.watprn
LEFT JOIN her_core_event_link on her_core_event_link.EWATPRN=her_event.watprn
LEFT JOIN her_xrefs on her_xrefs.watprn=her_event.watprn
LEFT JOIN her_artefact on her_artefact.watprn=her_event.watprn

LEFT JOIN her_source3 on her_source3.watprn=her_event.watprn

LEFT JOIN her_source1_link on her_source1_link.watprn=her_event.watprn
LEFT JOIN her_source1 on her_source1.rowid=her_source1_link.source_id

WHERE her_enquiry_link_event.fileno=[rowid]

group by her_event.prn;
title:[b]
PRN[/b] , [i],prn,[/i] , [b]NAME[/b] , [i],name,[/i] ,  [b]NGR[/b] , [i],ngr,[/i] , [b]COMMUNITY[/b] , [i],community,[/i],[br],[b]TYPE[/b] , [i],event_type,[/i], [b]YEAR[/b] , [i],eyear,[/i] ,[b]ORGANISATION[/b] , [i],evo,[/i] ,[b]PERSON[/b] , [i],evp,[/i] ,[br],[b]SUMMARY[/b] ,[i],s1,[/i][br][br],[b]DESCRIPTION[/b] ,[i],d1,[/i][br][br],[b]COMMENTS[/b] ,[i],com1,[/i][br],[b]ARTEFACTS[/b][br],[i],art,[/i][br][br],[b]CROSS REFERENCES[/b], [i],xref,[/i], [i],core,[/i][br][br], [b]SOURCES[/b][br],[i],bib,[/i] [br] ,[i],sources,[/i] }


AM - {date("m.d.y (H:m)")} - HTML file produced from GGAT HER, GGAT file number {rowid}. 
Glamorgan Gwent Archaeological Trust, Heathfield House, Heathfield, Swansea, SA1 6EL.
tel (01792) 655208 , fax (01792) 474696, email her@ggat.org.uk , website www.ggat.org.uk

 

Archaeological data, from the Regional Historic Environment Record, supplied by The Glamorgan-Gwent Archaeological Trust in partnership with Local Authorities, Cadw and the partners of ENDEX GGAT, 2010.