Good morning Herman, For copying parts of a database is there more to your question than this type of approach, with an export to CSV?
//X_ExportData Filter = BarIndex() > BarCount -100; AddColumn(O,"Open",1.2,1); AddColumn(H,"High",1.2,1); AddColumn(L,"Low",1.2,1); AddColumn(C,"Close",1.2,1); AddColumn(V,"Volume",1.2,1); Also the same if from/to dates are used. brian_z
