Hi u all well i wose wondering if any one can tellme what exactly do this code.
it is calling a txt file or it is creating one
the question is where the path
can i add the txt file to the compilation
tCalPrint = SQLite.QueryToTable(db,"SELECT * FROM Cal");
for nRow = 1,tCalPrint.Rows do
sDate = tCalPrint.Data[nRow]["Date"]
sEvent = tCalPrint.Data[nRow]["Event"]
TextFile.WriteFromString(_TempFolder.."\\cal.txt", ""..sDate.."\r\n"..sEvent.."\r\n\r\n", true);
end
File.Print(_TempFolder.."\\cal.txt");
Application.Sleep(100);
File.Delete(_TempFolder.."\\cal.txt", false, false, false, nil);
thanks for the feedback![]()

Reply With Quote