Event aquery_trans_after

This event is used for representations, when a query facet is requested, on every line returned to fill a line of the query.

It can be used to assign properties that are not present in the tables or that have a different name so that the Setinstance instruction used to assign the class property will not work.

Available variables

Example

# A field has been added in the class to give the length of another column,# and a ranking based on a computation# the value that have an amount equal to 0 are discarded$ TRANSFER_FIELDSthis.MYT.FLDLEN=len([MYT]COMMENT)If [MYT]AMOUNT=0[L]ASTATUS=[V]CST_AERRORElsethis.MYT.MARK=string$([MYT]AMOUNT<100,"poor")+string$([MYT]AMOUNT>=100 and [MYT]AMOUNT<1000,"average")&+string$([MYT]AMOUNT>=1000 and [MYT]AMOUNT<5000,"good")&+string$([MYT]AMOUNT>5000,"outstanding")EndifReturn