At least one cause of 'multi-step ADO operation generated errors'

| No Comments
I was experiencing this occasionally when implementing the delete functionality for a browse window. It turns out that I was not positioned on a record, but instead was either before first or after the last record. Simple problem, really but a bit of a pain to discover the reason as the error isn't really informative.
The solution was to do move to either the first or last record. Thanks to the magic of the 'meta bof/eof records'. I have to use the description loosely, as they definitely ain't records and the correctness police would be rapping my knuckles for such a statement.
Discovering the solution was not helped by the browse grid control I was using - it seemed to indicate that I was on a record when in reality it wasn't. Another case of model does not match the implementation.

Leave a comment

About this Entry

This page contains a single entry by Pete Shanahan published on February 4, 2006 11:53 PM.

New on the blogroll... davetron was the previous entry in this blog.

The angst - the multi-step ADO operation tale continues is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.