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
Bror-Erik Kotiranta
I will have a programmer answer this one, I do not have the full answer for this...
14:23 25 Jan 2025
Bror-Erik Kotiranta
I meant that file you were looking it, forgot the actual name sorry about that. But that file, if you change the IP to the correct one, does it then connect?...
14:21 25 Jan 2025