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.
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.