Topic: How To Export .Txt And Header In Same MVD Project

How To Export .Txt In Same MVD Project
- How To Add Include Column Titles
- How To encoding Unicode UTF8,16
From Code

Form1.TableGrid1.SaveToTextFile('d:\file.txt'); // Stores the data in the file as a column separator, a comma is used
Form1.TableGrid1.SaveToTextFile('d:\file.txt', #9); // Stores the data in the file as a column separator, use tabs
Form1.TableGrid1.SaveToTextFile('d:\file.txt', '*'); // Stores the data in the file as a column separator used asterisk
Form1.TableGrid1.SaveToTextFile('d:\file.txt', ',', '|'); // Stores the data in the file as a column separator, a comma is used, the data is used for multi-line character | 
My Visual Database : I Love You
Easy For Beginner Student For Me

Re: How To Export .Txt And Header In Same MVD Project

Add column titles is not support.


You can't to change encoding, function using UTF-16LE

Dmitry.