Subject Re: Fields do not blank on "Append"
From Bob McKinney <>
Date Fri, 11 Aug 2017 09:12:05 -0400
Newsgroups dbase.getting-started

Hi Ken: Yes.  See my pushbutton code used in my toolbars.

class AddRowButton(oParent) of MyPushbutton(oParent) ;
        from "" custom
   this.text := "Add Bill"
   fontSize = 8
   this.colorNormal = "Black/0x8080ff"
   function onClick

   function onMouseOver
           this.colorNormal = "Black/Yellow"

   function onMouseOut
           this.colorNormal = "BtnText/0x8080ff"


    What is strange to me is that this code works as expected on some forms and not on others.  Thanks for the CB............Bob

VKen Mayer Wrote:

> On 8/10/2017 2:18 PM, Bob McKinney wrote:
> > Hi All:  At 94 I'm starting again.  Using w/10 w/db 2.8.  Tried to write a couple of simple forms for my own use.
> >      I have a couple of toolbars where clicking the Add button will blank the fields on append ready for data entry.  Some of my older forms work as expected.  The new ones actually seem to be in the Edit mode while the rowstate says "Append".
> >      I've compared the code to that in old forms and cannot see a difference.   MY activating  code = "set procedure to additive"  Any help will be appreciated.............Bob
> Are you using:
> form.rowset.beginAppend()  to put them into append mode?
> Ken
> --
> *Ken Mayer*
> Ken's dBASE Page:
> The dUFLP:
> dBASE Books: dBASE
> Tutorial: