Export Default Directory
Delphi Tokyo rb 20.03
I am trying to force the end user to export their files to the corporate share but i am having some issues. I cannot seem to get the value to take:
ppMasterTemplate.OutputDialog.ExportFileDialog.TextFileName
:='\\mylocation\' + sFile;
ppMasterTemplate.TextFileName :='\\mylocation\' + sFile;
nothing seems to make a difference unless I add the value to the textfilename on the object explorer. This needs to be dynamic.
I am trying to force the end user to export their files to the corporate share but i am having some issues. I cannot seem to get the value to take:
ppMasterTemplate.OutputDialog.ExportFileDialog.TextFileName
:='\\mylocation\' + sFile;
ppMasterTemplate.TextFileName :='\\mylocation\' + sFile;
nothing seems to make a difference unless I add the value to the textfilename on the object explorer. This needs to be dynamic.
Comments
Where are you altering the TextFileName property (i.e. which event)? Note this this property needs to be assigned before the report prints/exports but after any templates are loaded.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com