[ HDF5 High Level Tutorial Top ] [ Next ] [ Prev ]

H5TB: HDF5 Table
Tables

Add records from one table to another

It is possible to insert records from a table into another table. The H5TBadd_records_from is used to add records from a table to another. 

H5TBadd_records_from( file_id, "Table1", start1, nrecords, "Table2", start2);

This call reads nrecords records from "Table1", starting at position start1, and inserts those records into "Table2", starting at position start2

Programming Example

The following C program provides an example. The corresponding HDF5 file that is generated is also referenced here. You can use an HDF5 file browser to access this file by clicking on the link below.

NOTE: To download a tar file of all of the examples, including a Makefile, please go to the Index page.


HDF Help Desk
Last modified: November 18, 2002