Access - We have a table with a memo field [DESCRIPTION_OF_REQUEST].
Another table to record any date changes (for deliverables) that occur to a particular request. One to many relationship.
From a reporting point of view we are required to export (as Excel) the requests on a monthly basis and would like to have all the changes to any deliverable dates concatenated to the comments field.
[tblRequests]
RegProjID DateOfRequest DESCRIPTION_OF_REQUEST
---------- ------------- ----------------------
116 06 Oct 2015 "Stability of broken ampoule."
and
[tblDateChanges]
RegProjChangeID RegProjID DateOfDateChange UserName ReasonForChange
--------------- --------- ---------------- -------- ---------------
355 116 19 Jan 2016 dskelly "Duplicate Request from Simon Wong CPP Request already in process Original Request # 13661"
1549 116 21 Mar 2016 sdoyle This request looks like an entry error - it is logged as Trandate 200mg tablets, but refers to a broken ampoule. We received an enquiry from Francisco Gomez for information on a broken Trandate ampoule which has been logged correctly as Req ID 18540.
The output must have the two reasons for the change in the request concatenated into the DESCRIPTION_OF_REQUEST
Can we build a query that will concatenate all the ReasonForChange into one record prior to export or should this be done in Excel by exporting two queries?
As usual a simple database has grown into a valuable reporting tool and the powers that be want it to be everything to everyone.
Thank you for any suggestions you may have.