Image display does not change when changing variable

On a Form I have an image display with the formula: “:oudeconsulten:”+str(«stnr.»)+" - “+str(vario)+”.jpg"

I use the variable vario to switch between images

I use buttons to change vario like vario = vario+1

The image does not change. What do I need for command te adjust the image in the form?

After the assignment try ‘showvariables vario’

The image is still not changing.

Just to be clear, the code Bill is suggesting goes at the end of your button code.

The procedure at the button is: vario = vario+1
Showvariables vario