VishalMistry
28th January 2016, 18:14
Hi all,

I was curious to know if there is any way to know (I mean loop through list of fields) field names and their types if we give table name as input ?

Any help with example will be highly appreciated.

Vishal

NPRao
28th January 2016, 19:34
Vishal,

You can use the following 2 tools functions together and get the result.

rdi.table() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_runtime_dictionary_information_rdi_table)
rdi.table.column() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_runtime_dictionary_information_rdi_table_column)