CreateTable.sml
# Declare Variables here
Vector Bline; # your output Vector
class DATABASE dbase; # the DATABASE class to store Open..() return value
class DBTABLEINFO dbtable; # return value from create, used in other functions as well
GetOutputVector(Bline, "VectorToolkit");
dbase = OpenVectorPointDatabase(Bline);
dbtable = TableCreate(dbase, "rt1");
TableAddFieldInteger(dbtable, "Num", 5);
TableAddFieldFloat(dbtable, "ZEIT", 5, 2);
TableWriteRecord(dbtable, 0, 1, 7.02);
TableWriteRecord(dbtable, 0, 2, 7.04);
TableWriteRecord(dbtable, 0, 3, 7.10);
©MicroImages, Inc. 2013 Published in the United States of America
11th Floor - Sharp Tower, 206 South 13th Street, Lincoln NE 68508-2010 USA
Business & Sales: (402)477-9554 Support: (402)477-9562 Fax: (402)477-9559
Business info@microimages.com
Support support@microimages.com
Web webmaster@microimages.com
|