James you don't have to hardcode on everything. You have a string called
'filename'. Take a dialog and add an dialogfield to that. The filename would be
the name you have entered in the dialogfield. simple like filename =
dlgf.value();. This would prompt a dialog and you enter a filename in
Try to use a dialog and dialogfield. May be that would give you a solution.
the name you enter in the dialogfield would be the name of the report. I have
tried it and it worked.
Hi everyone,
Does anyone know where I can change the default name of the PDF file that
gets attached when I do print to email?
Currently it always comes out as 'axaptareport' (Ax4.0)
I would like to control based on what report I am actually printing
Thanks
James
-Village@yahoogroups.com
Sent: Wednesday, 10 December, 2008 9:42:15 AM
Subject: [Axapta-Knowledge-Village] Changing default PDF file name
Hi everyone,
Does anyone know where I can change the default name of the PDF file that gets
attached when I do print to email?
Currently it always comes out
-Village@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of dhiraj
karmalkar
Sent: 10 December 2008 12:52
To: Axapta-Knowledge-Village@yahoogroups.com
Subject: Re: [Axapta-Knowledge-Village] Changing default PDF file name
Hi James,
The file name is hard coded in Class\Info\reportSendMail
5 matches
Mail list logo