Ooops,
You can delete this line from my prevoius script sample: Let>tag=<
---
And btw. if you want to create a "database"/spreadsheet you hopefully use the Comma Separated Value (*csv) - format which can be used with EXCEL, ACCESS, etc.
Code: Select all
:
GetDate>Date
Let>Delimiter=,
Let>Data=
Let>Header=Date, OrderNumber, Surname, Name, Postcode, City, Country, ...
//check if destination file is available
IfFileExists>C:\MyOrders.txt, FileFeed
//create destination file with header
WLN>C:\MyOrders.txt, RESULT, %Header%
//merge collected data to create a data record + write it to the file
Label>FileFeed
ConCat>Data,%Date%%Delimiter%%OrderNumber%%Delimiter%%Surname%%Delimiter%%Name%%Delimiter% ...
WLN>C:\MyOrders.txt, RESULT, %Data%
...
The destination file will look like this:
Date, OrderNumber, Surname, Name, Postcode, City, ...
09/12/2002,12345,Dark,Pink,4711,ToonTown,...
So you can import it to EXCEL etc.
Have fun,
E.