Subject Re: Executive File Failure
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Tue, 12 Apr 2022 10:11:59 -0700
Newsgroups dbase.getting-started

On 4/12/2022 9:37 AM, Norman Snowden wrote:
> The following code has always worked before to add new records:
> function PUSHBUTTON4_onClick                    
>     Append Automem
>     form.peoplep1.rowset.first()
>    form.pageno = 1
>    return
> It works fine within dBASE 11.
> But now a revised executive.file for some reason refuses to add new records. Everything else  works perfect. Not much to go on, but maybe someone has an idea?

You're combining XDML and OODML. That's not a good idea -- the two
methods of interacting with the data don't recognize each other properly
... (and what do you mean by "executive.file"?)

There is code to reproduce what "append automem" did in the dUFLP, it's
a bit more complex, which is why it is in a custom class. (CopyRow.cc)

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