Hi,
I joined two tables by matching two columns, this generates a new data table, but now I have to add a new column with a formula into the output table generated after a join the previous ones, but for some reason I can't make it work. This it what I tried so far
Data Table( dt1 ) << Join(
With( Data Table( dt2 ) ),
By Matching Columns( :XNative = :XNative, :YNative = :YNative ),
Copy formula(0),
Suppress formula evaluation(0),
Drop multiples( 0, 0 ),
Include NonMatches(1, 1),
Preserve main table order( 1 ),
Output Table Name( "Contour Plot")));
Wait(2);
data table("Contour Plot") << New Column("subs", Numeric, Continuous, Format("Best", 8), Formula(:T1 of 0413 - :T1 of 0310));
or
dt=Data Table( dt1 ) << Join(
With( Data Table( dt2 ) ),
By Matching Columns( :XNative = :XNative, :YNative = :YNative ),
Copy formula(0),
Suppress formula evaluation(0),
Drop multiples( 0, 0 ),
Include NonMatches(1, 1),
Preserve main table order( 1 ),
Output Table Name( "Contour Plot"))):
Close("Contour Plot", save ("C:\Users\cjariasr\Desktop\cp.txt"));
dt << New Column("subs", Numeric, Continuous, Format("Best", 8), Formula(:T1 of 0413 - :T1 of 0310));
Please help!
Thanks