July 17, 2012

TIP #1

Selecting a file into text box from Assit Edit

Variables:

DialogWindow = Codeunit = Common Dialog Management
Text000            = Select Your Excel File
Data File          = Record/Global Variable

Code: OnAssitEdit()

    IF ("Data File"= '' ) OR (NOT EXISTS("Data File")) THEN
          "Data File" := DialogWindow.OpenFile(Text000, '', 2{=Excel}, '', 0{=Open});



--   Share your views
--   Happy Reading

No comments:

Post a Comment