Hi All,
I hope you are well. I have construct a interface to modify .txt files into an appropiate format(spreadsheet). I want to display the headings and other important information form these files I have selected on the interface (layout page).
For this I was thinking of using a couple of single-column multi-row tables derived from Dataobject class and declared in the header file WORKSHEET.H. I was hoping to place data into each row via the following code: "%M" is the argument used "DatTxt" is the name given to the column "V1$" would refer to row one
LT_set_str("%M",dataName); string cellText;
if (j==0) { LT_execute("DatTxt.V1$=%M;"); //heading information Worksheet Data1(dataName); Data1.GetCell(4,6, cellText); LT_set_str("%M",cellText); LT_execute("DatAufg.V1$=%M;");
Question: How do you make the column exactly cos I am having trouble. I do not know how to create the column with the required number of rows and heading? I have an example with me but I can not open the properties. Is this code correct, or would there be a better way?
Thanks
Blank  |