Hi, I am evaluating the Words product (latest version 10.1.0.0) for Java and am attempting to do a mail merge with regions, but am having difficulty constructing a DataTable object. This class is missing from the API although it is present in the jar file:
In eclipse the only constructor allowed by this class is the one taking a ResultSet, however an example on your site shows a different approach, defining columns and adding rows manually:
DataTable dataTable = new DataTable(“Suppliers”);
for (int i = 0; i < 10; i++)
DataRow datarow = dataTable.NewRow();
datarow = "Company " + Integer.toString(i);
datarow = "Contact " + Integer.toString(i);
Further, the DataTable class that I can see does not have Columns and Rows properties. Am I missing something? How do I configure my test app so that I can use DataTable as in this example?