|"No, it still makes no sense. You add an extra column to your table and then you say you need to store information in extra rows. Choose one or the other."
I've added an extra ret column
rt_col->ColumnName = "Ret";
Then I need to fill the rows of this new column "Ret" based on the values held in "Population" column.
1st value of "Ret" should equal = log( 1st value of Population / 2nd value of Population)
2nd value of "Ret" = log (3rd value of Population / 4th value of Population)
ps: please let me reiterate that both "Ret" and "Population" are columns from the datable object dbdataset.
** in vba it will take me <3 minutes to perform it but I am stuck in c++ (part of the learning process I suppose ) Again thanks for the help
modified 24-Nov-14 6:57am.