Hey guys,
Thanks for the reponses and ideas.
RetrieveAsNeeded is not set and there is no code at all in the retrieverow event. Again, what's really strange is if I set the datawindow control to a height large enough to hold the entire result set it works fine.
I know for a fact there are no rows pending. I can open the app in the morning and retrieve one row, and then come back to it hours later, open the new window while the window with one row is still open and the error occurs.