Export selected fields from list view to CSV [message #1768] |
Tue, 28 October 2008 10:21 |
bonzo_bcn
Messages: 152 Registered: June 2008
|
Senior Member |
|
|
I need to export only some fields to a CSV file.
The problem is that I need some extra fields for the search screen so that the user can filter by some criteria. This other fields should appear also in the list1 transaction.
How can I do it in order to export only a selected number of fields?
I've tried hiding them with _cm_changeconfig but then I can't see them in the list1.
|
|
|
Re: Export selected fields from list view to CSV [message #1769 is a reply to message #1768] |
Tue, 28 October 2008 10:54 |
AJM
Messages: 2367 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
If you wish to export data to a CSV file you have a choice of either the OUTPUT1 patten or the OUTPUT4 pattern.
If you wish to output only selected fields then you must either use OUTPUT1 with a specific SELECT list, or use OUTPUT4 which enables the user to select the desired fields at runtime.
I do not understand your problem - you have absolute control over what appears in the SEARCH screen and what appears in the LIST screen, so there is nothing in the framework which can do that for you automagically.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|