you can't...or at least, you have to program it by yourself (making a new action)...i don't know if setting the visible property to true right before the export will help (but where can we put the code?probably codeunit 403?)
your best choice is to train the users to hide/show the columns they want to have, it is not "rocket science".
you can see the export to excel button as a screenshot of the current page, in my opinion this is how it should work.
Why do you want to have your hidden columns exported, too? :-k
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso My Blog
you should have said it before...anyway, if the export starts from a button in the form, just check if the field is visible before inserting a new record in table 370...
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso My Blog
-currform.update(TRUE or FALSE at your need) to have the refreshed window...
-my idea was that the user should be able to show/hide the columns he want manually, and then, before calling the function to fill the excel buffer, you should test if the field is visible or not in this moment
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso My Blog
Comments
your best choice is to train the users to hide/show the columns they want to have, it is not "rocket science".
you can see the export to excel button as a screenshot of the current page, in my opinion this is how it should work.
Why do you want to have your hidden columns exported, too? :-k
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Because the speed of export is slow ,the user want to hide the column so that they can do it quickly.
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
this export function is a customize programe not the standard programe .
i save the record to table370 (Excel Buffer) and export it.
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
i set (visiable = false) in which trigger? :-k
-my idea was that the user should be able to show/hide the columns he want manually, and then, before calling the function to fill the excel buffer, you should test if the field is visible or not in this moment
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog