Report media mFile
Gastón Salomone
8-3-17
Hi,

When user selects File media on report specification, a SaveFileDialog allows the user to select the file name to be generated and Path.
That dialog request a name with .txt extensión, but allows the user to write any name.

I need two things, One is to know which name user write, I want to open the file after report process and generate the file. I need to execute another program once the file is generated on client pc.

The other thing is to know if there is any way to change extensión txt in that dialog, to request a name with .xls extensión for example.

Regards
Dejan R.
8-23-17
Hi,

if i understand you need correctly, you would like to add name of the user to created File name? If that is the case then it can be hardcoded using HAL functionality.

Same solution can be for second part, changing extensions txt to some other extension.

Without HAL both options can be done manually...
Erik Elmgren
8-24-17
string [WindowClass]DefaultFileName(string,record RcVc) should let you change the default filename, but I think you have to suggest a full name.

I don't think you can get the actual filename used at the moment.

Erik
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
David Delač
Hi Piotr, The log entry:
2024-12-14 08:40:43 0.000 CallHal(IsHansaWorldCustomer) appears because the server is running with the verbosity=debug-detailed setting in its parameters.txt file. Thi...
09:43 16 Dec 2024
Brittany McGrath
Hi Vaughn, I can confirm this has been fixed now and is live in Standard ERP 2024-11-20 Version: 85556786. Thank you. ...
10:04 10 Dec 2024