PDA

View Full Version : Table Problem


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

mustafa06
06-04-2009, 08:34 AM
how can edit text file line 1 or 2 or 3 etc..?