I have a database that hase 10 records in it. If I use code like this with intRecordnumber set to 10 I get an error "There is no row at position 10"
However if I use this code with intRecordNumber set to 9 it returns the actual row at position 9???
I understand the Row is using zero base so if I ask for record 9 I should get the last tenth reord, but I dont I get the ninth?
Any ideas??
Code:
m_drContract = m_dsContract.Tables("tblContracts").Rows(intRecordNumber)
However if I use this code with intRecordNumber set to 9 it returns the actual row at position 9???
I understand the Row is using zero base so if I ask for record 9 I should get the last tenth reord, but I dont I get the ninth?
Any ideas??