Langsung ke konten utama

Postingan

Menampilkan postingan dengan label table

HTML Table

An HTML table is defined with the  <table>  tag. Each table row is defined with the  <tr>  tag. A table header is defined with the  <th>  tag. By default, table headings are bold and centered. A table data/cell is defined with the  <td>  tag. < table  style ="width:100%" >    < tr >      < th > Firstname < /th >      < th > Lastname < /th >        < th > Age < /th >    < /tr >    < tr >      < td > Jill < /td >      < td > Smith < /td >        < td > 50 < /td >    < /tr >    < tr >      < td > Eve < /td >      < td > Jackson < /td >        < td...

X++ code to import data from text file(.txt) to Ax Tables

This the code to insert data from txt to AX static void Notepad(Args _args) { FilenameOpen filename; dialogField dialogFilename; Dialog dialog; TextIO file; NotepadTable notepadTable; container con; str conitem,conitem1,conitem2; int i; #File   ; dialog = new Dialog("Notepad Upoad"); dialogFilename = dialog.addFieldValue(extendedTypeStr(FilenameOpen),filename,"File Name"); dialog.filenameLookupFilter([".txt", #AllFiles]); dialog.filenameLookupTitle("Upload from Text File"); dialog.caption("Upload from text file"); dialogFilename.value(filename); if(!dialog.run()) return; filename = dialogFilename.value(); file = new TextIO(filename, #IO_READ); file.inRecordDelimiter('\n'); //For Next Record file.inFieldDelimiter('\t'); ttsbegin; while(file.status() == IO_STATUS::OK) { con = file.read(); conitem = conpeek(con,1); if(conItem!="0") { notepadTable.initValue(); notepadTable.Name=...