Thanks David... I was not aware that 'foreach' could be used like this to run for each search result.
The only thing I am missing now is the ability to pass field values to the macro. I have gone through a few threads and it seems it is not possible to pass the values as arguments to a macro.
But thanks for pointing this out with 'foreach'!
... View more