mustafa06
06-04-2009, 06:42 AM
tbRead = TextFile.ReadToTable("C:\\My File.txt");
tbFile= Dialog.FileBrowse(true, "Locate File", tbRead[1], "File (*.*)|*.*|", "", "dat", false, false);
if tbFile[1] ~= "CANCEL" then
tbFull = Table.Concat("C:\\My File.txt", "\r\n", 1, TABLE_ALL); --Error
Table.Insert(tbFull, 1, tbFile[1]);
Table.Remove(tbFull, 2);
TextFile.WriteFromTable("C:\\My File.txt", tbFull, false);
endHelp please
tbFile= Dialog.FileBrowse(true, "Locate File", tbRead[1], "File (*.*)|*.*|", "", "dat", false, false);
if tbFile[1] ~= "CANCEL" then
tbFull = Table.Concat("C:\\My File.txt", "\r\n", 1, TABLE_ALL); --Error
Table.Insert(tbFull, 1, tbFile[1]);
Table.Remove(tbFull, 2);
TextFile.WriteFromTable("C:\\My File.txt", tbFull, false);
endHelp please