Thank you for your solutions. This is very nice code and save my time. but I’ve an another issues.
how to report the relationship data. e.g. I keep users.id in my project tbl as user_id. Now, the report exported the project.user_id only. I want to export the username at report. How can I?
and some of the tbl’s field keep the data by csv or jason code. For those fields are relationship with other tables. how could I export the really data from relative tbl at report.