Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2

Thread: Table Problem

  1. #1
    Join Date
    Jul 2007
    Posts
    287

    Lightbulb Table Problem

    Code:
    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);
    end
    Help please

  2. #2
    Join Date
    Jul 2007
    Posts
    287
    how can edit text file line 1 or 2 or 3 etc..?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts