Any ideas why this code always reports the error "no row 6"?
If the dataset table has 12 rows which I confirm by looking in the Access table then run this code I keep getting the same error?
If the dataset table has 12 rows which I confirm by looking in the Access table then run this code I keep getting the same error?
Code:
For intX = 0 To m_dsJob.Tables("tblJobs").Rows.Count - 1
m_drJob = m_dsJob.Tables("tblJobs").Rows(intX)
m_drJob.Delete()
m_odaJob.DeleteCommand = m_ocbJob.GetDeleteCommand
m_odaJob.Update(m_dsJob.Tables("tblJobs").GetChanges)
m_dsJob.Tables("tblJobs").AcceptChanges()
Next