My report is bound to a datasource which has a table. This table has CarExpense details as below,
- ID
- Name
- TotalAmount
- Expense_Fuel
- Expense_Mainteneance
- …
- …
Here 4, 5 are dynamically added in case if data exist. So those columns may or may not exist. How can I add these into report?
Currently I have hardcoded it as below, hence in case 6, 7 columns are added to datasource, those are not displayed in report.
str$(DataSourceTable.ID) + “¶” +
DataSourceTable.Name + “¶” +
str$(DataSourceTable.TotalAmount,0,2) + " EUR" + “¶”
Thanks in advance,
Ramees