After you are done with your selections and are able to press Import, press it and you can get the script from Table Script "Source"
Open(
"$DOWNLOADS/test.csv",
columns(
New Column("date",
Numeric,
"Continuous",
Format("m/d/y", 10),
Input Format("m/d/y")
),
New Column("c000002", Numeric, "Continuous", Format("Best", 10)),
New Column("c000003", Numeric, "Continuous", Format("Best", 10)),
New Column("c000004", Numeric, "Continuous", Format("Best", 10)),
New Column("c000005", Numeric, "Continuous", Format("Best", 10)),
New Column("c000006", Numeric, "Continuous", Format("Best", 10)),
New Column("c000007", Numeric, "Continuous", Format("Best", 10))
),
Import Settings(
Fixed Column Widths(13, 3, 7, 9, 11, 6, 90),
Strip Quotes(0),
Use Apostrophe as Quotation Mark(0),
Use Regional Settings(0),
Scan Whole File(1),
Treat empty columns as numeric(0),
CompressNumericColumns(0),
CompressCharacterColumns(0),
CompressAllowListCheck(0),
Labels(1),
Column Names Start(1),
First Named Column(1),
Data Starts(2),
Lines To Read("All"),
Year Rule("20xx")
)
)
Does have "$DOWNLOADS/test.csv",
and Fixed Column Widths(13, 3, 7, 9, 11, 6, 90)
. Are these still missing something?
-Jarmo