Subject |
Re: beginappend() Problem Fixed |
From |
Ken Mayer <dbase@nospam.goldenstag.net> |
Date |
Fri, 30 Jun 2023 05:14:12 -0700 |
Newsgroups |
dbase.getting-started |
On 6/30/2023 12:31 AM, Lee Grant wrote:
> Ken,
>
> Along these lines, and somewhat related to this, if I have custom
> buttons, that I include in the set procedure and use in the form, is
> there something that prevents the button from knowing the form's rowset
> relation and being able to beginAppend() the rowset?
>
> I've created buttons on the app that does it, but my question goes to
> the reason a custom button brought in from another file doesn't know the
> forms rowset for the form that it was placed on?
A lot of the buttons rely on form.rowset being set, your code is doing
things like:
form.billtotest.querybill_to.rowset.
Which is not the same thing. If you were to do:
form.rowset = form.billtotest.querybill_to.rowset
In the onOpen event handler, then that might solve it.
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
|
|