Hi,
The core rule for an Append template is that it captures date from ABOVE the record(s) it will relate to - which is what you are seeing.
You could consider using a Footer template but back in V7 the Footer template functionality was somewhat more specific to things like footers than it is these days!
I think what you may need it the 'guru trap' concept. At a basic level this is a method of creating a genuine Append template but one that will seek its data wherever it can find it - which may be below the Detail record to which the append is related.
Now, there are a large number of posts that relate to this approach and I suspect if you run a search through the forum you will find one that very closely matches what you are seeking to do - it sounds sort of familiar. I suggest the search because if there is a nearly identical example you will recognise it whilst I will not.
The core of the concept is that you define a trap for the append that (usually) exactly matches the trap you use for the detail records and then grab the fields using something that can uniquely identify them - e.g. a preceding string set up in the advanced properties of the field(s) - so that any corresponding data between the trap and the start of the next detail record (the append trap will also get 'reset' at the next record) will be picked up even if it is not always in the same relative row.
If you can't find anything let us know.
There is a further outline description of the 'guru trap' here - about mid-way through.
Grant
V11.5 (Pro): Windows 7
V9, V10.5 (Pro): Windows 7
V8 Pro: Windows XP SP2
Earlier versions "archived" as machines died ...