This one is driving me nuts as I have identical code in multiple forms which work fine, but for some reason this one does not!
An error occurs at the .Update line which reports the following:
Update unable to find TableMapping
or DataTable Table.
If I generate and preview the data adapter in design mode it works OK?
Code:
Try
empty equipment dataset prior to refreshing
Me.DataSetAssets1.Clear()
regenerate item dataset to reflect changes
Me.OleDbAdapterAssets.Update(Me.DataSetAssets1)
fill the datasets with refreshed data
Me.OleDbAdapterAssets.Fill(Me.DataSetAssets1)
Catch objException As Exception
ShowError("Location: Class frmAssets" & ControlChars.CrLf & ControlChars.CrLf & _
"Procedure: ResetDataset" & ControlChars.CrLf & ControlChars.CrLf & _
"Error Text: " & objException.Message)
End Try
An error occurs at the .Update line which reports the following:
Update unable to find TableMapping
If I generate and preview the data adapter in design mode it works OK?