AnsweredAssumed Answered

Is it possible to increase a field with a number by 1 upon the click of a button?

Question asked by ygoinsider on Dec 18, 2018
Latest reply on Dec 19, 2018 by SteveMartino

Hi,

 

I'm currently working on a tool that helps me keep me track of a Trading Card Collection of me and a friend. The whole thing works pretty fine allready, but I'm new to FMP and so I'm constantly learning more functions and certain flaws in my design come to my attention.

 

The major part of the databbase is to keep track of the ammount of each card I own. The ammount is then displayed in a field on the layout. By now, I click on the filed and enter a new ammount manually, if something changes. A lot of times, those changes are +1 or -1, so I thought it would be nice to be able to adjust the field with 2 buttons, one that increases the calue by 1 and another one to decrese it.

 

Unfortunately I have no clue how to achive that. It seems like a realy easy thing so hopefully soembody can help me with it.

 

I added a screenshot with some annotations for a bit more clarity

 

Thanks a lot in advance :-)

Outcomes