Subject Re: Rowset at the end of Set
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Mon, 19 Feb 2024 07:55:08 -0800
Newsgroups dbase.getting-started

On 2/19/2024 7:08 AM, Mervyn Bick wrote:
> On 2024/02/19 15:11, Ken Mayer wrote:
>
>> With the form attached, it does exactly as described by Mustansir.
>> It's a simple table, the grid uses the editor control datalinked to a
>> memo field (table also attached). Run it, the table is empty, click
>> the button, you get the "Rowset at end of set" error. If you uncomment
>> one of the two commented statements in the pushbutton code, and
>> recompile the form, run it, click the button, no error.
>
> Your test form gave the error on closing.  My test form didn't so I dug
> a bit deeper.  (Test data: the only data that will actually work. :-) )
>
> The problem is there if the editorcontol for the first column in the
> grid is an editor.  The problem isn't there if the editorcontrol for the
> first column isn't an editor.

Huh. wow. I didn't think of that.

Ken

--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm
dBASE DOS to Windows Tutorial:
http://www.goldenstag.net/dbase/DtoWTutorial/00_Menu.htm