static void Job39(Args _args)
{
Dialog dialog;
Filename filename;
DialogField dialogFilename;
str myCsvFile;
;
dialog = new dialog();
dialog.caption("Choose a file");
dialogFilename = dialog.addField(extendedTypeStr(FilenameOpen));
dialog.run();
if(dialog.closedOk())
{
filename = dialogFileName.value();
#define.file("@'"+filename+"'")
myCsvFile = #file;
info(myCsvFile);
}
}
{
Dialog dialog;
Filename filename;
DialogField dialogFilename;
str myCsvFile;
;
dialog = new dialog();
dialog.caption("Choose a file");
dialogFilename = dialog.addField(extendedTypeStr(FilenameOpen));
dialog.run();
if(dialog.closedOk())
{
filename = dialogFileName.value();
#define.file("@'"+filename+"'")
myCsvFile = #file;
info(myCsvFile);
}
}
No comments:
Post a Comment