Subject |
Re: beginappend() Problem Fixed |
From |
Ken Mayer <dbase@nospam.goldenstag.net> |
Date |
Sat, 1 Jul 2023 05:10:58 -0700 |
Newsgroups |
dbase.getting-started |
On 6/30/2023 10:37 PM, Lee Grant wrote:
> Ken,
>
> Thanks. Yes, that's what I thought I was doing, but I was wrong. In my
> follow up message apparently about the same time you wrote this, I did a
> found that the way I created the form has different ways of getting the
> database reference into a form, that I wasn't really aware of. Since I
> made these forms some time ago, I had assumed the "form.rowset" would
> work, but that reference isn't assigned the way I created the form with
> a database and query object, as it's not assigned to the form.rowset
> property.
>
> I looked at the databuttons.cc and it seemed to be really more than I
> wanted to do, and of course, I thought when creating my custom buttons
> patterned after yours from the book, that it was going to be a simple
> code statement in the button as you show. Had I created the form by
> dropping the table on it, I would have indeed had that form property
> assigned by that action, but I didn't. I dropped a database and query
> object on the form and then filled them in with the pertinent
> information and never realized that the rowset is never assigned to the
> "form.rowset" property. :) DOH!!
Typically when you do this in the form designer, the form.rowset is
assigned ... unless you manually change the references somehow. If you
just drag them onto the form in the designer, that should work.
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
|
|