I'm using the Common Dialog Management codeunit (412) In NAV50 to return a path and filename for a dataport export. In the dialog I want to specify CSV as a default extension but allow the user to also select TXT. However the path returned from the CommonDialogControl does not contain the extension. How can I either return the correct extension from the dialog or at least know which extension the user picked? My call is this:
FileName := CmDlgMgt.OpenFile('Machester 1099 Export','',4,'*.csv|*.csv,*.txt|*.txt',1);
Also, once in the CommonDialogControl, selecting a filetype from the drop down does not seem to apply a filter to the files shown.
Thanks!
0
Comments
Regards from Germany
Rajesh Patel