Export to Excel using automation

How to get the 2 data from the same table then export it in excel using automation?

I know how to export but i could’nt get the 2nd Record :frowning:

Welcome to DUG

where did you write the code?

Can you show us"?

If you are using dataport then you need to write a code on onBeforeExportRecord Trigger.

thanks guys , got it :slight_smile:

Welcome[:)]