Subject Re: Incrementing a value OnClick
From Ed <>
Date Mon, 20 Nov 2023 09:34:58 -0500
Newsgroups dbase.getting-started

Thanks both - sounds like I'd better break out the tutorial rather than just launching myself at it!

Ken Mayer Wrote:

> On 11/20/2023 3:56 AM, Ed wrote:
> > Hi,
> >
> > I'm brand new to dbase and could do with some pointers. I've made a new DB called WEF1 and a tabled called T1. The table has three columns - name (character) and two columns called STR and DEF (both two digit numeric values).
> >
> > There are two people - "Bob" and "Fred" who both have a couple of random values for STR and DEF.
> >
> > I've made a form with a browser object and pointed it at T1 and it is all good.
> >
> > I've put a button on the screen and all I want it to do is increase, say "Bob"s STR by one each time I click it. I've almost no idea how to even begin this.
> >
> > Any examples or pointers would be appreciated.
> Ed --
> Seriously suggest you take the time to do something like run through the
> dBASE tutorial. The BROWSE object is not the best way to go here, you
> should be using a form. You can then hook a SPINBOX component on the
> form to the STR field. This has arrows for up and down, and clicking
> those will increment and decrement the value in the field.
> See the signature block below for details ...
> Ken
> --
> *Ken Mayer*
> Ken's dBASE Page:
> The dUFLP:
> dBASE Books:
> dBASE Tutorial:
> dBASE Web Tutorial:
> dBASE DOS to Windows Tutorial: