QR code toggle status

Noob here,

I  am trying to get a qr code scan to toggle a status value. Initial value will be "In", so if I scan the qr code it should change to "Out", if I scan the same qr code yet again it should change back to "In" and so on. 

can any one point me in the right direction? 

 

Thank you.

0 2 109
2 REPLIES 2

You should have a stored list of scanned codes, and match a new scan against this list. If the scanned code is not in the previously-scanned list, then it is scanned for the first time, if it is already in the list then you know you had scanned it before, and in both cases you set the status column accordingly. 

Thank you, Joseph.

Top Labels in this Space