TimeSheet: Hours changeback to zeroes
Hi,
I am getting a problem on the TimeSheet form.
I bring a new timesheet up which has zeroes in each cell. I then enter a number of hours into one of the cells and key to the next cell. The cell I have just left returns to zero (aaargh !).
On enetering debug mode I put a breakpoint in the grdTimeSheet_CurrentCellChanged sub Procedure and something doesn't look right. The code in this section iterates through each row in the
objTimeSheetDV data view checking the value of each day's hours in order to set the total in the Total Hours row. However, the hours item is always zero ... even for the cell that I have just entered a value.
When I try to reason this out, surely the code should be referencing the DataGrid itself rather than the DataView (which cannot have been updates surely). OR ? are the DataGrid and DataView bound together and therefore interchangeable ??????????
|