Hello,

I need to have a control helping me to select a file on a form. So, I decided to use the codeunit 412 Common Dialog Management.
But I can't make it work correctly.
For the moment, I have a simple textbox. Here is the code I use :
CodeUnit412 variable has the type Codeunit. Is it correct ?
I don't know what type the
content variable must have.
Content:= CodeUnit412.OpenFile(WindowTitle,DefaultFileName,DefaultFileType,FilterString,Action)
I know there are 5 parameters to set up with this CU but I don't know what those parametters must look like. What is the window title ? etc.
Can you give me documentation on this CU or a concrete example on how to use it please ?
Thanks.
Answers
FileName: Text
CommonDialgoMgt: Codeunit "Common Dialog Management"
Text006: Text Constant containing "Import Excel File"
Thanks.