Subject RowNum behaviour
Author Gediminas
just found out strange RowNum (RecNo) behaviour, code:
mpDataset->Last();
mpDataset->Insert();
....
mpDataset->Post();

mpDataset is empty: RowNum=1, EofRowNum=1, code called
->Last(): RowNum=0, EofRowNum=1
->Insert(): RowNum=1, EofRowNum=2

mpDataset has 1 record, code called again, RowNum=1, EofRowNum=2:
->Last(): RowNum=1, EofRowNum=2
->Insert(): RowNum=1, EofRowNum=3

mpDataset has 2 records, code called again, RowNum=1, EofRowNum=3:
->Last(): RowNum=2, EofRowNum=3
->Insert(): RowNum=2, EofRowNum=4

Why second Insert() call hasn't incremented RowNum (EofRowNum was
incremented)? is this fixed in the latest IBO version?
Using IBO 4.2Ie, dataset - TIB_Query type




--/ Gediminas /--
The Truth Is Out There