Hi
I'm looking to see if this is possible.
In a <td> I have the following code:
concat(\'dbr.html:\',group_concat(concat(\'\',c.satt,\' <div class="i_delete" style="display:inline-block;vertical-align:middle;"></div></br>\')
order by c.satt ASC
separator \'\'))
What this does is present the user the a list of clickable docs. What I would like to do is to give the user the ability to delete a document.
Normally if there was only 1 document per transaction I would use a linked report:
SELECT 'dbr.report','sp_DBR_Sage_Att_Delete','[Del]','popup','scriptdiv[]','inComp=scomp','inTran=tnum', 'event=click', 'callbefore=confirmdel';
select 'dbr.javascript', " function confirmdel(obj) { return confirm('Delete This Attachment from Transaction # \\''+$(obj).parent().children().eq(0).text()+'\\'?'); }";
My issue is how to hang the dbr.report off i-delete div in the group_concat and also only pick-up the filename immediately before the i-delete div.
Hope you follow this.
Many thanks
Jake